Browse Source

pcm-dvd: Fix build on big endian

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n2.1
Martin Storsjö 11 years ago
parent
commit
21ffd41011
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pcm-dvd.c

+ 1
- 1
libavcodec/pcm-dvd.c View File

@@ -160,7 +160,7 @@ static void *pcm_dvd_decode_samples(AVCodecContext *avctx, const uint8_t *src,
case 16:
#if HAVE_BIGENDIAN
bytestream2_get_buffer(&gb, dst16, blocks * s->block_size);
dst16 += blocks * block_size / 2;
dst16 += blocks * s->block_size / 2;
#else
samples = blocks * avctx->channels;
do {


Loading…
Cancel
Save