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

Andreas Rheinhardt git at videolan.org
Fri Dec 4 17:40:00 EET 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 26 17:40:17 2020 +0100| [13f10dc15ef7044fd4ff873623f9b07d64ac8a47] | committer: Andreas Rheinhardt

avcodec/yuv4dec: Mark decoder as init-threadsafe

Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

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

 libavcodec/yuv4dec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/yuv4dec.c b/libavcodec/yuv4dec.c
index f89f62debe..3fb1dbac28 100644
--- a/libavcodec/yuv4dec.c
+++ b/libavcodec/yuv4dec.c
@@ -81,4 +81,5 @@ AVCodec ff_yuv4_decoder = {
     .init         = yuv4_decode_init,
     .decode       = yuv4_decode_frame,
     .capabilities = AV_CODEC_CAP_DR1,
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list