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 23:09:00 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 04:08:37 +0300
commit30a5b66a7c1f562ef588c438db33eba76e6b9f29 (patch)
treef440a8908d1e45bd0792ebe2895ecbe20b18dbfd /libavcodec/g729dec.c
parentbe633f1237c6735b382121ede48af9a9edc82835 (diff)
avcodec/g729dec: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/g729dec.c')
-rw-r--r--libavcodec/g729dec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c
index eca69026c0..7525ab7491 100644
--- a/libavcodec/g729dec.c
+++ b/libavcodec/g729dec.c
@@ -760,6 +760,7 @@ const AVCodec ff_g729_decoder = {
.decode = decode_frame,
.close = decode_close,
.capabilities = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
const AVCodec ff_acelp_kelvin_decoder = {
@@ -772,4 +773,5 @@ const AVCodec ff_acelp_kelvin_decoder = {
.decode = decode_frame,
.close = decode_close,
.capabilities = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};