diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index 1ba9863c62..548a5f9978 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -1808,7 +1808,7 @@ FF_ENABLE_DEPRECATION_WARNINGS /* If downmixing to stereo, don't decode additional channels. * FIXME: Using the xch_disable flag for this doesn't seem right. */ if (!s->xch_disable) - channels += s->xll_channels - s->xll_residual_channels; + channels = s->xll_channels; } }