[FFmpeg-devel] [PATCH 15/20] avcodec/webp: Mark decoder as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Fri May 7 09:46:42 EEST 2021
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavcodec/webp.c | 1 +
1 file changed, 1 insertion(+)
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,
};
--
2.27.0
More information about the ffmpeg-devel
mailing list