Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes: > I believe libavcodec should not set channel_layout to values that must be > wrong. Patch applied with av_get_channel_layout_nb_channels() as suggested by Kieran. Carl Eugen