[FFmpeg-devel] [PATCH 098/134] avcodec/g722dec: Mark decoder as init-threadsafe

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


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

diff --git a/libavcodec/g722dec.c b/libavcodec/g722dec.c
index 7c270bc33a..c8d879fadf 100644
--- a/libavcodec/g722dec.c
+++ b/libavcodec/g722dec.c
@@ -149,4 +149,5 @@ AVCodec ff_adpcm_g722_decoder = {
     .decode         = g722_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
     .priv_class     = &g722_decoder_class,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list