[FFmpeg-devel] [PATCH v2 005/162] avcodec/tscc2: Mark tscc2 decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Nov 20 09:18:38 EET 2020


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

diff --git a/libavcodec/tscc2.c b/libavcodec/tscc2.c
index 10bdff9a4e..17eb2c854f 100644
--- a/libavcodec/tscc2.c
+++ b/libavcodec/tscc2.c
@@ -374,5 +374,5 @@ AVCodec ff_tscc2_decoder = {
     .close          = tscc2_decode_end,
     .decode         = tscc2_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
-    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
+    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list