[FFmpeg-cvslog] avcodec/webp: Mark decoder as init-threadsafe

Andreas Rheinhardt git at videolan.org
Wed May 12 07:48:09 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri May  7 05:40:55 2021 +0200| [4082520385f1cfcda6d5655471e8f411bbff837f] | committer: Andreas Rheinhardt

avcodec/webp: Mark decoder as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4082520385f1cfcda6d5655471e8f411bbff837f
---

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



More information about the ffmpeg-cvslog mailing list