mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-03-13 09:00:40 +08:00
ch_layouts, sample_fmts and supported_samplerates are of no use for a decoder, so don't set them. In this case this fixes an inconsistency: ch_layouts contained mono and stereo, yet lateron the AVCodecContext's ch_layout is always populated with an AV_CHANNEL_ORDER_UNSPEC layout. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
13 KiB
13 KiB