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 {