[FFmpeg-devel] [PATCH 4/6] avcodec/utils: Move decoder channel count check to ff_decode_preinit

Anton Khirnov anton at khirnov.net
Sat Mar 20 18:13:20 EET 2021


Quoting Andreas Rheinhardt (2021-03-16 21:30:58)
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> I actually wonder why this flag is not used for encoders. Several of
> them explicitly check for invalid channel values.

How would it work? How can the channel count _not_ be provided to an
encoder?

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list