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

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


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Fri Nov 27 14:10:44 2020 +0100| [54135a0bd2f8bfd19e203269c93aefee0ba9aef5] | committer: Andreas Rheinhardt

avcodec/pafvideo: 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=54135a0bd2f8bfd19e203269c93aefee0ba9aef5
---

 libavcodec/pafvideo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/pafvideo.c b/libavcodec/pafvideo.c
index 07fa05caf8..22ae26ac10 100644
--- a/libavcodec/pafvideo.c
+++ b/libavcodec/pafvideo.c
@@ -419,4 +419,5 @@ AVCodec ff_paf_video_decoder = {
     .close          = paf_video_close,
     .decode         = paf_video_decode,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list