summaryrefslogtreecommitdiff
path: root/libavcodec/cngenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-30 14:37:18 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 03:40:24 +0200
commit29aaff7edb69c3aecd0592020a6f102e331e8b84 (patch)
treefbe8e56617dde3b032998d5a6715967f46ab7061 /libavcodec/cngenc.c
parent0c47b070e04141472358c84909aa6f001d81f1cb (diff)
avcodec/cngenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/cngenc.c')
-rw-r--r--libavcodec/cngenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cngenc.c b/libavcodec/cngenc.c
index 55826c75be..15d1e5b657 100644
--- a/libavcodec/cngenc.c
+++ b/libavcodec/cngenc.c
@@ -111,5 +111,5 @@ const AVCodec ff_comfortnoise_encoder = {
.close = cng_encode_close,
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
AV_SAMPLE_FMT_NONE },
- .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};