[FFmpeg-devel] [PATCH 54/72] avcodec/roqaudioenc: Mark encoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Nov 27 19:46:34 EET 2020


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

diff --git a/libavcodec/roqaudioenc.c b/libavcodec/roqaudioenc.c
index c09212d3d1..1c32f7f701 100644
--- a/libavcodec/roqaudioenc.c
+++ b/libavcodec/roqaudioenc.c
@@ -195,4 +195,5 @@ AVCodec ff_roq_dpcm_encoder = {
     .capabilities   = AV_CODEC_CAP_DELAY,
     .sample_fmts    = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
                                                      AV_SAMPLE_FMT_NONE },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list