[FFmpeg-devel] [PATCH 116/134] avcodec/flacdec: Mark decoder as init-threadsafe

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


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

diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index cf6128f897..810347fd52 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -678,4 +678,5 @@ AVCodec ff_flac_decoder = {
                                                       AV_SAMPLE_FMT_S32P,
                                                       AV_SAMPLE_FMT_NONE },
     .priv_class     = &flac_decoder_class,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list