libav: compatibility issues between libav and ffmpeg
authorLeandro Dorileo <leandro.maciel.dorileo@intel.com>
Thu, 13 Feb 2014 13:24:44 +0000 (11:24 -0200)
committerLeandro Dorileo <leandro.maciel.dorileo@intel.com>
Thu, 13 Feb 2014 15:18:13 +0000 (13:18 -0200)
commitedb86ad86ac4162bd1b3984d6ab7a75db13ec148
tree331209bbb30fc8ae0b323f3a153340e8e9718ca3
parent6c31293bb1626d309d40880c33fb21125a1e79b9
libav: compatibility issues between libav and ffmpeg

For compatibility issues we must try to get channels using the
codec->channels field if it's 0 we try using the function
av_get_channel_layout_cb_channels().
src/plugins/generic/generic.c