[FFmpeg-devel] [PATCH 01/17] avcodec/svq3: Mark decoder as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Thu Feb 17 09:46:21 EET 2022
Andreas Rheinhardt:
> The only interesting thing done in SVQ3's init function
> is using zlib, but this is fine: https://zlib.net/zlib_faq.html#faq21
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> libavcodec/svq3.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
> index be95e222aa..da61617f4e 100644
> --- a/libavcodec/svq3.c
> +++ b/libavcodec/svq3.c
> @@ -1601,5 +1601,5 @@ const AVCodec ff_svq3_decoder = {
> AV_CODEC_CAP_DELAY,
> .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUVJ420P,
> AV_PIX_FMT_NONE},
> - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
> + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
> };
Will apply the rest of this patchset tonight unless there are objections.
- Andreas
More information about the ffmpeg-devel
mailing list