On 05/26/2014 07:56 AM, Anton Khirnov wrote:
> +static int put_flac_codecpriv(AVFormatContext *s,
> + AVIOContext *pb, AVCodecContext *codec)
> +{
> + int write_comment = (codec->channel_layout &&
> + codec->channel_layout != AV_CH_LAYOUT_MONO &&
> + codec->channel_layout != AV_CH_LAYOUT_STEREO);
Same here in terms of checking for predefined layouts other than mono
and stereo.
-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel