[FFmpeg-devel] [PATCH 100/134] avcodec/g723_1dec: Mark decoder as init-threadsafe

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


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

diff --git a/libavcodec/g723_1dec.c b/libavcodec/g723_1dec.c
index f601d31d00..6c30800742 100644
--- a/libavcodec/g723_1dec.c
+++ b/libavcodec/g723_1dec.c
@@ -1048,4 +1048,5 @@ AVCodec ff_g723_1_decoder = {
     .decode         = g723_1_decode_frame,
     .capabilities   = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1,
     .priv_class     = &g723_1dec_class,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list