[FFmpeg-devel] [PATCH 153/217] avcodec/targaenc: Mark encoder as init-threadsafe

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


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

diff --git a/libavcodec/targaenc.c b/libavcodec/targaenc.c
index 79030a012b..012409b48d 100644
--- a/libavcodec/targaenc.c
+++ b/libavcodec/targaenc.c
@@ -229,4 +229,5 @@ AVCodec ff_targa_encoder = {
         AV_PIX_FMT_BGR24, AV_PIX_FMT_BGRA, AV_PIX_FMT_RGB555LE, AV_PIX_FMT_GRAY8, AV_PIX_FMT_PAL8,
         AV_PIX_FMT_NONE
     },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list