From dc5385b6e2c82e773253fbea4bef408d3d26c930 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 29 Nov 2020 21:14:41 +0100 Subject: [PATCH] avcodec/gif: Mark encoder as init-threadsafe Signed-off-by: Andreas Rheinhardt --- libavcodec/gif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/gif.c b/libavcodec/gif.c index f3ee15c2ac..8f0a3d79c1 100644 --- a/libavcodec/gif.c +++ b/libavcodec/gif.c @@ -565,5 +565,5 @@ const AVCodec ff_gif_encoder = { AV_PIX_FMT_GRAY8, AV_PIX_FMT_PAL8, AV_PIX_FMT_NONE }, .priv_class = &gif_class, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, };