[FFmpeg-devel] [PATCH 50/72] avcodec/cdxl: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Nov 27 19:46:30 EET 2020


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

diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c
index 7c82967df0..96ae14c418 100644
--- a/libavcodec/cdxl.c
+++ b/libavcodec/cdxl.c
@@ -335,4 +335,5 @@ AVCodec ff_cdxl_decoder = {
     .close          = cdxl_decode_end,
     .decode         = cdxl_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