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

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


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 26 17:48:29 2020 +0100| [88f0d6b60c9b473b9654b27db6e9cd078213e3fa] | committer: Andreas Rheinhardt

avcodec/xl: 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=88f0d6b60c9b473b9654b27db6e9cd078213e3fa
---

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

diff --git a/libavcodec/xl.c b/libavcodec/xl.c
index 37ab46e4f7..72fb3bf259 100644
--- a/libavcodec/xl.c
+++ b/libavcodec/xl.c
@@ -135,4 +135,5 @@ AVCodec ff_xl_decoder = {
     .init         = decode_init,
     .decode       = decode_frame,
     .capabilities = AV_CODEC_CAP_DR1,
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list