diff mbox series

[FFmpeg-devel,105/134] avcodec/gif: Mark encoder as init-threadsafe

Message ID 20201130005454.110441-33-andreas.rheinhardt@gmail.com
State Accepted
Commit dc5385b6e2c82e773253fbea4bef408d3d26c930
Headers show
Series [FFmpeg-devel,01/45] avcodec/a64multienc: Fix memleak upon init failure
Related show

Checks

Context Check Description
andriy/x86 warning Failed to apply patch

Commit Message

Andreas Rheinhardt Nov. 30, 2020, 12:54 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/gif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index de41992851..9400d98ae2 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -497,5 +497,5 @@  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,
 };