Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 22:37:22 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 04:04:22 +0300
commitdde57205e14a782193f167de25bf1a28dfdf35bb (patch)
treee7c66fc302c5aab2d19b0bf6d8da7dcc8f20c378 /libavcodec/g722enc.c
parent2da9b77a1c291d5ae0ba325f3e816ad813d35680 (diff)
avcodec/g722enc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/g722enc.c')
-rw-r--r--libavcodec/g722enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g722enc.c b/libavcodec/g722enc.c
index 24880f9550..8c4327b5f6 100644
--- a/libavcodec/g722enc.c
+++ b/libavcodec/g722enc.c
@@ -380,5 +380,5 @@ const AVCodec ff_adpcm_g722_encoder = {
.capabilities = AV_CODEC_CAP_SMALL_LAST_FRAME,
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
.channel_layouts = (const uint64_t[]){ AV_CH_LAYOUT_MONO, 0 },
- .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};