ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
Fri Nov 27 14:23:19 2020 +0100| [362fdc26577b653053da0a2455c0a6605c764c33] | 
committer: Andreas Rheinhardt

avcodec/photocd: Mark decoder as init-threadsafe

Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>

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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to