aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-11 12:40:50 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-18 19:25:12 +0100
commit1ece38668f944d4d7f33779a21c05a0d7e358608 (patch)
treed0d87cede81a3e914a372356b91a8393153d525a /libavcodec
parent51cd565208123f5e69053bb37b9ae7f1c6e9d9b2 (diff)
downloadffmpeg-1ece38668f944d4d7f33779a21c05a0d7e358608.tar.gz
avcodec/svq3: Mark decoder as init-threadsafe
The only interesting thing done in SVQ3's init function is using zlib, but this is fine: https://zlib.net/zlib_faq.html#faq21 Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/svq3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index be95e222aa..da61617f4e 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -1601,5 +1601,5 @@ const AVCodec ff_svq3_decoder = {
AV_CODEC_CAP_DELAY,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUVJ420P,
AV_PIX_FMT_NONE},
- .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};