[FFmpeg-devel] [PATCH 17/45] avcodec/xl: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Nov 27 03:02:21 EET 2020


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

diff --git a/libavcodec/xl.c b/libavcodec/xl.c
index 37ab46e4f7..72fb3bf259 100644
--- a/libavcodec/xl.c
+++ b/libavcodec/xl.c
@@ -135,4 +135,5 @@ AVCodec ff_xl_decoder = {
     .init         = decode_init,
     .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