[FFmpeg-devel] [PATCH 65/72] avcodec/photocd: Mark decoder as init-threadsafe

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


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

diff --git a/libavcodec/photocd.c b/libavcodec/photocd.c
index aa1b1059e9..408ddeaac8 100644
--- a/libavcodec/photocd.c
+++ b/libavcodec/photocd.c
@@ -469,4 +469,5 @@ AVCodec ff_photocd_decoder = {
     .decode         = photocd_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
     .long_name      = NULL_IF_CONFIG_SMALL("Kodak Photo CD"),
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list