mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-04-22 20:34:53 +02:00
If avctx->ch_layout is unset (as it's allowed and even expeced by the AV_CODEC_CAP_CHANNEL_CONF flag), the code setting substream masks will fail for stereo and mono layouts unless a downmix channel was requested. Fix this by deriving the mask with coded values only. Fixes issue #20764. Signed-off-by: James Almer <jamrial@gmail.com>
53 KiB
53 KiB