From: Martin Storsjö Date: Sat, 31 Aug 2013 15:35:33 +0000 (+0200) Subject: pcm-dvd: Fix build on big endian X-Git-Tag: v10_alpha1~832 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21ffd4101167ef4dcc271132f950e0f9ec58a7bd;p=platform%2Fupstream%2Flibav.git pcm-dvd: Fix build on big endian Signed-off-by: Martin Storsjö --- diff --git a/libavcodec/pcm-dvd.c b/libavcodec/pcm-dvd.c index 8e88ad4..9fd6d13 100644 --- a/libavcodec/pcm-dvd.c +++ b/libavcodec/pcm-dvd.c @@ -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 {