[FFmpeg-devel] [PATCH 25/45] avcodec/sgidec: Mark decoder as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Fri Nov 27 03:02:29 EET 2020
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
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,
};
--
2.25.1
More information about the ffmpeg-devel
mailing list