Commit 21ffd410 authored by Martin Storsjö's avatar Martin Storsjö

pcm-dvd: Fix build on big endian

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent f4ca970d
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment