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

Andreas Rheinhardt git at videolan.org
Fri Dec 4 17:39:56 EET 2020


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

avcodec/y41pdec: 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=b509692c622a3e56e1a972550e042b56f0cadb70
---

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

diff --git a/libavcodec/y41pdec.c b/libavcodec/y41pdec.c
index 85a39e4ae2..2bfabe277e 100644
--- a/libavcodec/y41pdec.c
+++ b/libavcodec/y41pdec.c
@@ -89,4 +89,5 @@ AVCodec ff_y41p_decoder = {
     .init         = y41p_decode_init,
     .decode       = y41p_decode_frame,
     .capabilities = AV_CODEC_CAP_DR1,
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list