diff mbox series

[FFmpeg-devel,21/30] avcodec/qcelpdec: Mark decoder as init-threadsafe

Message ID 20201230233157.1055287-21-andreas.rheinhardt@gmail.com
State New
Headers show
Series [FFmpeg-devel,01/30] avcodec/opustab: Make array static
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Dec. 30, 2020, 11:31 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/qcelpdec.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index 4878af5a2c..823205bf55 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -799,4 +799,5 @@  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,
 };