You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
pcm-dvd: Fix build on big endian
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -160,7 +160,7 @@ static void *pcm_dvd_decode_samples(AVCodecContext *avctx, const uint8_t *src,
|
|||||||
case 16:
|
case 16:
|
||||||
#if HAVE_BIGENDIAN
|
#if HAVE_BIGENDIAN
|
||||||
bytestream2_get_buffer(&gb, dst16, blocks * s->block_size);
|
bytestream2_get_buffer(&gb, dst16, blocks * s->block_size);
|
||||||
dst16 += blocks * block_size / 2;
|
dst16 += blocks * s->block_size / 2;
|
||||||
#else
|
#else
|
||||||
samples = blocks * avctx->channels;
|
samples = blocks * avctx->channels;
|
||||||
do {
|
do {
|
||||||
|
Reference in New Issue
Block a user