aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-28 20:01:47 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-31 23:36:37 +0100
commitbd46e3ee71c20685b54778d0f5d845e1d9449a1a (patch)
treea3bf2b162a943bd0ba3610d32fa9e519e18cad43
parente0311e848a275788ad39fb8dad4d43f738ec4d10 (diff)
downloadffmpeg-bd46e3ee71c20685b54778d0f5d845e1d9449a1a.tar.gz
avcodec/qdmc: Mark decoder as init-threadsafe
It already uses ff_thread_once() to initialize its static data. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/qdmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/qdmc.c b/libavcodec/qdmc.c
index 94681a0b6b..a8c930f0e7 100644
--- a/libavcodec/qdmc.c
+++ b/libavcodec/qdmc.c
@@ -736,4 +736,5 @@ AVCodec ff_qdmc_decoder = {
.decode = qdmc_decode_frame,
.flush = qdmc_flush,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};