[FFmpeg-devel] [PATCH 3/3] avcodec: Make init-threadsafety the default
Anton Khirnov
anton at khirnov.net
Wed Jul 13 14:34:32 EEST 2022
Quoting Andreas Rheinhardt (2022-07-10 01:10:21)
> and remove FF_CODEC_CAP_INIT_THREADSAFE
> All our native codecs are already init-threadsafe
> (only wrappers for external libraries and hwaccels
> are typically not marked as init-threadsafe yet),
> so it is only natural for this to also be the default state.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> One could now also remove the check for "codec->init" from
> (un)lock_avcodec. It wouldn't matter.
Very nice. Congratulations on getting here, it was tons of work.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list