Commit e802abd6 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dcadec: if XLL is enabled use xll channels

Fixes outputting 14 channels instead of 7
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 21d25441
......@@ -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;
}
}
......
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