aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-30 17:31:20 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 03:51:40 +0200
commitc13b3fdb1965300f6311c0cf646f85ad1e6c1375 (patch)
tree9af1e07045fbf664d69c322d59864d37a9684b56
parente6f13f9a3791b2601a05894355cd731db096dfa1 (diff)
downloadffmpeg-c13b3fdb1965300f6311c0cf646f85ad1e6c1375.tar.gz
avcodec/8svx: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/8svx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c
index 54ad806ec9..6ef8cd73fe 100644
--- a/libavcodec/8svx.c
+++ b/libavcodec/8svx.c
@@ -196,6 +196,7 @@ const AVCodec ff_eightsvx_fib_decoder = {
.capabilities = AV_CODEC_CAP_DR1,
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P,
AV_SAMPLE_FMT_NONE },
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif
#if CONFIG_EIGHTSVX_EXP_DECODER
@@ -211,5 +212,6 @@ const AVCodec ff_eightsvx_exp_decoder = {
.capabilities = AV_CODEC_CAP_DR1,
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P,
AV_SAMPLE_FMT_NONE },
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif