[FFmpeg-devel] [PATCH 152/217] avcodec/tiffenc: Mark encoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Wed Dec 2 06:21:39 EET 2020


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavcodec/tiffenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index 6661e59d31..8e56f1b6ee 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -594,4 +594,5 @@ AVCodec ff_tiff_encoder = {
         AV_PIX_FMT_NONE
     },
     .priv_class     = &tiffenc_class,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list