[FFmpeg-devel] [PATCH 144/217] avcodec/cdgraphics: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Wed Dec 2 06:21:31 EET 2020


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

diff --git a/libavcodec/cdgraphics.c b/libavcodec/cdgraphics.c
index 965f43684a..24e1771b9e 100644
--- a/libavcodec/cdgraphics.c
+++ b/libavcodec/cdgraphics.c
@@ -394,4 +394,5 @@ AVCodec ff_cdgraphics_decoder = {
     .decode         = cdg_decode_frame,
     .flush          = cdg_decode_flush,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list