[FFmpeg-cvslog] avcodec/photocd: Mark decoder as init-threadsafe

Andreas Rheinhardt git at videolan.org
Sun Nov 29 01:39:46 EET 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Fri Nov 27 14:23:19 2020 +0100| [362fdc26577b653053da0a2455c0a6605c764c33] | committer: Andreas Rheinhardt

avcodec/photocd: Mark decoder as init-threadsafe

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=362fdc26577b653053da0a2455c0a6605c764c33
---

 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,
 };



More information about the ffmpeg-cvslog mailing list