aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-26 17:44:38 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 15:46:46 +0100
commitdbdad78b40e58342a0c816d363f44c52717dd934 (patch)
treef8ac9a789a632ea2292b3bdc895a412550ee3836
parent85e1d469af1ed4d4e0bb5b5f26c4cb6f60f8304a (diff)
downloadffmpeg-dbdad78b40e58342a0c816d363f44c52717dd934.tar.gz
avcodec/xan: 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/xan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xan.c b/libavcodec/xan.c
index 5318aab797..6bf754f151 100644
--- a/libavcodec/xan.c
+++ b/libavcodec/xan.c
@@ -645,5 +645,5 @@ AVCodec ff_xan_wc3_decoder = {
.close = xan_decode_end,
.decode = xan_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
- .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
+ .caps_internal = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_INIT_THREADSAFE,
};