[FFmpeg-devel] [PATCH 073/134] avcodec/notchlc: Mark decoder as init-threadsafe

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


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

diff --git a/libavcodec/notchlc.c b/libavcodec/notchlc.c
index 57ce70e945..d8eec97ee1 100644
--- a/libavcodec/notchlc.c
+++ b/libavcodec/notchlc.c
@@ -544,4 +544,5 @@ AVCodec ff_notchlc_decoder = {
     .close            = decode_end,
     .decode           = decode_frame,
     .capabilities     = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
+    .caps_internal    = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list