[FFmpeg-cvslog] avcodec/tscc2: Mark tscc2 decoder as init-threadsafe

Andreas Rheinhardt git at videolan.org
Tue Nov 24 12:48:19 EET 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Sun Nov 15 09:53:00 2020 +0100| [a6423412c17e22ebec2823c83b991b0f8b0d30c9] | committer: Andreas Rheinhardt

avcodec/tscc2: Mark tscc2 decoder as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a6423412c17e22ebec2823c83b991b0f8b0d30c9
---

 libavcodec/tscc2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/tscc2.c b/libavcodec/tscc2.c
index 9fa28fe9fc..630e17522c 100644
--- a/libavcodec/tscc2.c
+++ b/libavcodec/tscc2.c
@@ -370,5 +370,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,
 };



More information about the ffmpeg-cvslog mailing list