summaryrefslogtreecommitdiff
path: root/libavcodec/g722dec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 20:35:14 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 03:03:28 +0200
commit2da9b77a1c291d5ae0ba325f3e816ad813d35680 (patch)
treeb408bc30075ad926cb78db6848e97f06bc129fe3 /libavcodec/g722dec.c
parent406d005601283a04f4cbe5e4bd5ccc44a673b56e (diff)
downloadffmpeg-2da9b77a1c291d5ae0ba325f3e816ad813d35680.tar.gz
avcodec/g722dec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/g722dec.c')
-rw-r--r--libavcodec/g722dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/g722dec.c b/libavcodec/g722dec.c
index 96cf1a86f1..5ca0d0e2b1 100644
--- a/libavcodec/g722dec.c
+++ b/libavcodec/g722dec.c
@@ -149,4 +149,5 @@ const AVCodec ff_adpcm_g722_decoder = {
.decode = g722_decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
.priv_class = &g722_decoder_class,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};