[FFmpeg-devel] Set channel_layout in mpegaudio

Luca Barbato lu_zero
Sat Feb 5 20:12:35 CET 2011


On 02/05/2011 07:01 PM, Kieran Kunhya wrote:
> +    avctx->channel_layout = s->nb_channels == 1 ? AV_CH_LAYOUT_MONO : AV_CH_LAYOUT_STEREO;

Seems correct if we do not support other layouts in mpegaudio.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list