aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qcelpdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-28 19:53:42 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-06 06:13:54 +0200
commitf6ee90b6dcc31b40c12217d1989032a803838bb4 (patch)
tree8babe9006fef5f3e7cd42dd0a15ea3daa6f2d9f2 /libavcodec/qcelpdec.c
parent71ad83667d32f64c658034baa3cc56246ae67363 (diff)
downloadffmpeg-f6ee90b6dcc31b40c12217d1989032a803838bb4.tar.gz
avcodec/qcelpdec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/qcelpdec.c')
-rw-r--r--libavcodec/qcelpdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index 6663d8588b..b23013816b 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -799,4 +799,5 @@ const AVCodec ff_qcelp_decoder = {
.decode = qcelp_decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
.priv_data_size = sizeof(QCELPContext),
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};