Revision cfec09e9 libavcodec/dca.c

View differences:

libavcodec/dca.c
1230 1230
    pre_calc_cosmod(s);
1231 1231

  
1232 1232
    dsputil_init(&s->dsp, avctx);
1233

  
1234
    /* allow downmixing to stereo */
1235
    if (avctx->channels > 0 && avctx->request_channels < avctx->channels &&
1236
            avctx->request_channels == 2) {
1237
        avctx->channels = avctx->request_channels;
1238
    }
1239

  
1233 1240
    return 0;
1234 1241
}
1235 1242

  

Also available in: Unified diff