[FFmpeg-devel] [PATCH 087/134] avcodec/jvdec: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Nov 30 02:54:07 EET 2020


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

diff --git a/libavcodec/jvdec.c b/libavcodec/jvdec.c
index 6f10157b0d..f60db9b136 100644
--- a/libavcodec/jvdec.c
+++ b/libavcodec/jvdec.c
@@ -243,4 +243,5 @@ AVCodec ff_jv_decoder = {
     .close          = decode_close,
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list