[FFmpeg-cvslog] avcodec/qcelpdec: Mark decoder as init-threadsafe

Andreas Rheinhardt git at videolan.org
Thu May 6 07:16:16 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Mon Dec 28 19:53:42 2020 +0100| [f6ee90b6dcc31b40c12217d1989032a803838bb4] | committer: Andreas Rheinhardt

avcodec/qcelpdec: Mark decoder as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f6ee90b6dcc31b40c12217d1989032a803838bb4
---

 libavcodec/qcelpdec.c | 1 +
 1 file changed, 1 insertion(+)

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,
 };



More information about the ffmpeg-cvslog mailing list