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

Andreas Rheinhardt git at videolan.org
Wed May 12 07:48:14 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri May  7 06:23:18 2021 +0200| [06e9e9b2db06cc4473a41bd5391d743025b42ddd] | committer: Andreas Rheinhardt

avcodec/twinvqdec: Mark decoder as init-threadsafe

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

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

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

diff --git a/libavcodec/twinvqdec.c b/libavcodec/twinvqdec.c
index b972facfdd..1fbe0bc32e 100644
--- a/libavcodec/twinvqdec.c
+++ b/libavcodec/twinvqdec.c
@@ -426,4 +426,5 @@ const AVCodec ff_twinvq_decoder = {
     .capabilities   = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
     .sample_fmts    = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
                                                       AV_SAMPLE_FMT_NONE },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list