[FFmpeg-devel] [PATCH 10/20] avcodec/vorbisenc: Mark encoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri May 7 09:46:37 EEST 2021


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

diff --git a/libavcodec/vorbisenc.c b/libavcodec/vorbisenc.c
index dc54919f64..5c10e49b3f 100644
--- a/libavcodec/vorbisenc.c
+++ b/libavcodec/vorbisenc.c
@@ -1303,4 +1303,5 @@ const AVCodec ff_vorbis_encoder = {
     .capabilities   = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_EXPERIMENTAL,
     .sample_fmts    = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP,
                                                      AV_SAMPLE_FMT_NONE },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.27.0



More information about the ffmpeg-devel mailing list