codec: avcodec: keep the input channel_type