diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-30 14:37:18 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 03:40:24 +0200 |
commit | 29aaff7edb69c3aecd0592020a6f102e331e8b84 (patch) | |
tree | fbe8e56617dde3b032998d5a6715967f46ab7061 /libavcodec/cngenc.c | |
parent | 0c47b070e04141472358c84909aa6f001d81f1cb (diff) | |
download | ffmpeg-29aaff7edb69c3aecd0592020a6f102e331e8b84.tar.gz |
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.c | 2 |
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, }; |