[FFmpeg-devel] [PATCH 59/72] avcodec/pafvideo: Mark decoder as init-threadsafe

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


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 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,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list