From 4082520385f1cfcda6d5655471e8f411bbff837f Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 7 May 2021 05:40:55 +0200 Subject: [PATCH] avcodec/webp: Mark decoder as init-threadsafe Signed-off-by: Andreas Rheinhardt --- 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, };