[FFmpeg-devel] [PATCH 080/134] avcodec/msrle: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Nov 30 02:54:00 EET 2020


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

diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c
index 9233b34cc5..d8a9a24cbe 100644
--- a/libavcodec/msrle.c
+++ b/libavcodec/msrle.c
@@ -176,4 +176,5 @@ AVCodec ff_msrle_decoder = {
     .decode         = msrle_decode_frame,
     .flush          = msrle_decode_flush,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list