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

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


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 26 19:07:20 2020 +0100| [3e75631541d4cfe3dd23ce71c6e575c07eca500c] | committer: Andreas Rheinhardt

avcodec/sgidec: 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=3e75631541d4cfe3dd23ce71c6e575c07eca500c
---

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

diff --git a/libavcodec/sgidec.c b/libavcodec/sgidec.c
index 02ad1e1165..e954140258 100644
--- a/libavcodec/sgidec.c
+++ b/libavcodec/sgidec.c
@@ -297,4 +297,5 @@ AVCodec ff_sgi_decoder = {
     .decode         = decode_frame,
     .init           = sgi_decode_init,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list