[FFmpeg-devel] [PATCH 08/45] avcodec/loco: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Nov 27 03:02:12 EET 2020


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

diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index 25dd1575ba..99e3a1d021 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -346,4 +346,5 @@ AVCodec ff_loco_decoder = {
     .init           = decode_init,
     .decode         = 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