diff mbox series

[FFmpeg-devel,15/20] avcodec/webp: Mark decoder as init-threadsafe

Message ID HE1PR0301MB215458CB8C39EBA123496E178F579@HE1PR0301MB2154.eurprd03.prod.outlook.com
State Accepted
Commit 4082520385f1cfcda6d5655471e8f411bbff837f
Headers show
Series [FFmpeg-devel,01/20] avcodec/wma: Remove nonsense volatile
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt May 7, 2021, 6:46 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/webp.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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,
 };