diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-29 16:34:35 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 02:43:48 +0200 |
commit | a25706937035a704ec46878da6afb7e0ae8f72cf (patch) | |
tree | 205c7cdb0c11e3c8c36ec368f94d3a5fecd29b42 | |
parent | b8c0fb34ec569df5a0dd52b6bbda2f94b8c77a35 (diff) | |
download | ffmpeg-a25706937035a704ec46878da6afb7e0ae8f72cf.tar.gz |
avcodec/gsmdec: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/gsmdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/gsmdec.c b/libavcodec/gsmdec.c index 373ed087ef..c169112311 100644 --- a/libavcodec/gsmdec.c +++ b/libavcodec/gsmdec.c @@ -121,6 +121,7 @@ const AVCodec ff_gsm_decoder = { .decode = gsm_decode_frame, .flush = gsm_flush, .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif #if CONFIG_GSM_MS_DECODER @@ -134,5 +135,6 @@ const AVCodec ff_gsm_ms_decoder = { .decode = gsm_decode_frame, .flush = gsm_flush, .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif |