[FFmpeg-devel] [PATCH 171/217] avcodec/adxdec: Mark decoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Wed Dec 2 06:21:58 EET 2020


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

diff --git a/libavcodec/adxdec.c b/libavcodec/adxdec.c
index 35b20c5cf4..70cb077545 100644
--- a/libavcodec/adxdec.c
+++ b/libavcodec/adxdec.c
@@ -203,4 +203,5 @@ AVCodec ff_adpcm_adx_decoder = {
                       AV_CODEC_CAP_DR1,
     .sample_fmts    = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16P,
                                                       AV_SAMPLE_FMT_NONE },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list