Fix regression when AVCodecContext's channel layout doesn't get set up by FFmpeg.