Lines Matching refs:channels
120 if (avctx->channels < 1 || avctx->channels > 2) {
121 av_log(avctx, AV_LOG_ERROR, "invalid number of channels\n");
178 int stereo = avctx->channels - 1;
192 out = buf_size - 6 - avctx->channels;
195 out = buf_size - 2 * avctx->channels;
208 if (out % avctx->channels) {
209 av_log(avctx, AV_LOG_WARNING, "channels have differing number of samples\n");
213 frame->nb_samples = (out + avctx->channels - 1) / avctx->channels;
245 for (ch = 0; ch < avctx->channels; ch++) {
265 for (ch = 0; ch < avctx->channels; ch++)