summaryrefslogtreecommitdiff
path: root/libavcodec/pcm-dvd.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-08-31 17:35:33 +0200
committerMartin Storsjö <martin@martin.st>2013-08-31 18:06:26 +0200
commit21ffd4101167ef4dcc271132f950e0f9ec58a7bd (patch)
tree86cf5a72c438dec00edc53c568614e39a121d0da /libavcodec/pcm-dvd.c
parentf4ca970dba13a60a1334cce1b574036e6f624b9c (diff)
pcm-dvd: Fix build on big endian
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/pcm-dvd.c')
-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 8e88ad46b3..9fd6d13365 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 {