diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-29 20:52:53 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 03:06:04 +0200 |
commit | d40579c3cb13d34a47f07396b26fb13cebc5e722 (patch) | |
tree | fa276aaec3ce88b66109fbac042a841524ccd012 /libavcodec/g726.c | |
parent | 995ac7b55ab297615f9234f1c54427500822d2ec (diff) | |
download | ffmpeg-d40579c3cb13d34a47f07396b26fb13cebc5e722.tar.gz |
avcodec/g726: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/g726.c')
-rw-r--r-- | libavcodec/g726.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c index d643fbf968..6b2b8b3706 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -514,6 +514,7 @@ const AVCodec ff_adpcm_g726_decoder = { .decode = g726_decode_frame, .flush = g726_decode_flush, .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif @@ -528,5 +529,6 @@ const AVCodec ff_adpcm_g726le_decoder = { .flush = g726_decode_flush, .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF, .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM little-endian"), + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif |