Kieran Kunhya <kieran <at> kunhya.com> writes: > > (av_popcount(avctx->channel_layout) != > > Isn't av_get_channel_layout_nb_channels better in this instance? Yes, looks useful. Carl Eugen