Commit 789cd1de authored by Martin Storsjö's avatar Martin Storsjö Committed by Michael Niedermayer

pcm-dvd: Fix build on big endian

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cb4d05e7
......@@ -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 {
......
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