diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-29 20:37:22 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 03:04:22 +0200 |
commit | dde57205e14a782193f167de25bf1a28dfdf35bb (patch) | |
tree | e7c66fc302c5aab2d19b0bf6d8da7dcc8f20c378 | |
parent | 2da9b77a1c291d5ae0ba325f3e816ad813d35680 (diff) | |
download | ffmpeg-dde57205e14a782193f167de25bf1a28dfdf35bb.tar.gz |
avcodec/g722enc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/g722enc.c | 2 |
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, }; |