aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 21:09:00 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 03:08:37 +0200
commit30a5b66a7c1f562ef588c438db33eba76e6b9f29 (patch)
treef440a8908d1e45bd0792ebe2895ecbe20b18dbfd /libavcodec
parentbe633f1237c6735b382121ede48af9a9edc82835 (diff)
downloadffmpeg-30a5b66a7c1f562ef588c438db33eba76e6b9f29.tar.gz
avcodec/g729dec: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec')
-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,
};