[FFmpeg-devel] [PATCH 119/134] avcodec/fastaudio: Mark decoder as init-threadsafe

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


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

diff --git a/libavcodec/fastaudio.c b/libavcodec/fastaudio.c
index 1dda310612..68fc62bb2d 100644
--- a/libavcodec/fastaudio.c
+++ b/libavcodec/fastaudio.c
@@ -197,4 +197,5 @@ AVCodec ff_fastaudio_decoder = {
     .capabilities   = AV_CODEC_CAP_DR1,
     .sample_fmts    = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
                                                       AV_SAMPLE_FMT_NONE },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list