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

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


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

avcodec/sgirledec: 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=3c6b6f544cfa343f362fca9597d463c5e9d11e01
---

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

diff --git a/libavcodec/sgirledec.c b/libavcodec/sgirledec.c
index aa4f0e7e15..9cb637b07f 100644
--- a/libavcodec/sgirledec.c
+++ b/libavcodec/sgirledec.c
@@ -139,4 +139,5 @@ AVCodec ff_sgirle_decoder = {
     .init           = sgirle_decode_init,
     .decode         = sgirle_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };



More information about the ffmpeg-cvslog mailing list