[FFmpeg-devel] [PATCH 53/72] avcodec/rl2: Mark decoder as init-threadsafe

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


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

diff --git a/libavcodec/rl2.c b/libavcodec/rl2.c
index 2d336a61e5..55ceaf080d 100644
--- a/libavcodec/rl2.c
+++ b/libavcodec/rl2.c
@@ -228,4 +228,5 @@ AVCodec ff_rl2_decoder = {
     .close          = rl2_decode_end,
     .decode         = rl2_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list