[FFmpeg-devel] [PATCH 07/23] avcodec/rawdec: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu May 6 08:11:05 EEST 2021


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

diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index 96abf6a48c..b22e36e984 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -492,4 +492,5 @@ const AVCodec ff_rawvideo_decoder = {
     .decode         = raw_decode,
     .priv_class     = &rawdec_class,
     .capabilities   = AV_CODEC_CAP_PARAM_CHANGE,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.27.0



More information about the ffmpeg-devel mailing list