pcm-dvd: Fix build on big endian

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/35/head
Martin Storsjö 12 years ago committed by Michael Niedermayer
parent cb4d05e7f2
commit 789cd1de99
  1. 2
      libavcodec/pcm-dvd.c

@ -162,7 +162,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