avcodec/dcadec: if XLL is enabled use xll channels

Fixes outputting 14 channels instead of 7

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-03-16 01:19:18 +01:00
parent 21d25441c6
commit e802abd6e3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}