[FFmpeg-devel] [PATCH 1/8] lavc/avcodec: simplify codec id/type validity checking

Anton Khirnov anton at khirnov.net
Sun Jun 5 13:42:10 EEST 2022


So much text, but no actual answer. Again:
> I fail to see how calling avcodec_open2() with AVMEDIA_TYPE_ATTACHMENT
> is valid API usage. What do you expect it to do? There are no
> AVMEDIA_TYPE_ATTACHMENT decoders.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list