aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-07 02:06:20 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-12 06:00:14 +0200
commite1e59d738386e50591b5413dd26b44da9e2818ec (patch)
tree8cd74ebab627eeb4bca1f7880bce8922120b197d
parent44e0a31ac4330d5b64cd7cde05900046943a25b2 (diff)
downloadffmpeg-e1e59d738386e50591b5413dd26b44da9e2818ec.tar.gz
avcodec/vorbisenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/vorbisenc.c1
1 files changed, 1 insertions, 0 deletions
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,
};