summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-08-31 17:35:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-01 13:00:38 +0200
commit789cd1de99cd272c02b2d960cfa08f9ecfe981d7 (patch)
tree2e7a14180c1f539f82ff96bc7e3548ae47b246dd /libavcodec
parentcb4d05e7f25684fd09b5a81bf5d5ca98ecfec6ca (diff)
pcm-dvd: Fix build on big endian
Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/pcm-dvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pcm-dvd.c b/libavcodec/pcm-dvd.c
index b34b7488cd..f3f02cf6b4 100644
--- a/libavcodec/pcm-dvd.c
+++ b/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 {