mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '37a3cac78c6b13dc4e2c4f33ef53eed722d6f7b9'
* commit '37a3cac78c6b13dc4e2c4f33ef53eed722d6f7b9': dcadec: simplify an expression Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
8540368582
@ -2480,8 +2480,7 @@ static av_cold int dca_decode_init(AVCodecContext *avctx)
|
||||
avctx->sample_fmt = AV_SAMPLE_FMT_FLTP;
|
||||
|
||||
/* allow downmixing to stereo */
|
||||
if (avctx->channels > 0 && avctx->request_channels < avctx->channels &&
|
||||
avctx->request_channels == 2) {
|
||||
if (avctx->channels > 2 && avctx->request_channels == 2) {
|
||||
avctx->channels = avctx->request_channels;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user