-#if FF_API_REQUEST_CHANNELS
-FF_DISABLE_DEPRECATION_WARNINGS
- if (avctx->request_channels > 0
- && avctx->request_channels < s->prim_channels) {
- channels = num_core_channels + !!s->lfe;
- for (i = 0; i < s->xxch_chset && channels + s->xxch_chset_nch[i]
- <= avctx->request_channels; i++) {
- channels += s->xxch_chset_nch[i];
- channel_mask |= s->xxch_spk_masks[i];
- }
-FF_ENABLE_DEPRECATION_WARNINGS
- } else
-#endif