aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-26 19:22:52 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 15:46:46 +0100
commit6a2defd7d8edc79115a2231de80d357e02e4a3ca (patch)
tree78ad1eae4b3f0124cedcefdcf13a2736bf4393d4
parentb3912f8dfda0c0f9aaab9b9fc7f5232fb8ef963f (diff)
downloadffmpeg-6a2defd7d8edc79115a2231de80d357e02e4a3ca.tar.gz
avcodec/smc: Mark decoder as init-threadsafe
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/smc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/smc.c b/libavcodec/smc.c
index 2beb1ce291..342ebb71d1 100644
--- a/libavcodec/smc.c
+++ b/libavcodec/smc.c
@@ -484,4 +484,5 @@ AVCodec ff_smc_decoder = {
.close = smc_decode_end,
.decode = smc_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};