[FFmpeg-cvslog] avcodec/vorbisenc: Mark encoder as init-threadsafe

Andreas Rheinhardt git at videolan.org
Wed May 12 07:47:59 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri May  7 02:06:20 2021 +0200| [e1e59d738386e50591b5413dd26b44da9e2818ec] | committer: Andreas Rheinhardt

avcodec/vorbisenc: Mark encoder as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1e59d738386e50591b5413dd26b44da9e2818ec
---

 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,
 };



More information about the ffmpeg-cvslog mailing list