aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-07 05:40:55 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-12 06:00:14 +0200
commit4082520385f1cfcda6d5655471e8f411bbff837f (patch)
tree1f49d21cbc10ebcad474dd3f2c9302f1f0fe2dc6
parent99ed54334053bb78a37545c4844cff6b4c9e658d (diff)
downloadffmpeg-4082520385f1cfcda6d5655471e8f411bbff837f.tar.gz
avcodec/webp: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/webp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/webp.c b/libavcodec/webp.c
index 23558309c6..83371ef6fd 100644
--- a/libavcodec/webp.c
+++ b/libavcodec/webp.c
@@ -1560,4 +1560,5 @@ const AVCodec ff_webp_decoder = {
.decode = webp_decode_frame,
.close = webp_decode_close,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};