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

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


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Fri Nov 20 03:53:42 2020 +0100| [f1919dc8fa391debebb339d5ab2268567783411e] | committer: Andreas Rheinhardt

avcodec/mss4: Mark 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=f1919dc8fa391debebb339d5ab2268567783411e
---

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

diff --git a/libavcodec/mss4.c b/libavcodec/mss4.c
index c421a07c5d..a6d036f3f7 100644
--- a/libavcodec/mss4.c
+++ b/libavcodec/mss4.c
@@ -678,5 +678,5 @@ AVCodec ff_mts2_decoder = {
     .close          = mss4_decode_end,
     .decode         = mss4_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