summaryrefslogtreecommitdiff
path: root/libavcodec/sgidec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-26 19:07:20 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 15:46:46 +0100
commit3e75631541d4cfe3dd23ce71c6e575c07eca500c (patch)
tree38cde58c2b583fbeaec2dbb5499f4ba7f41731fc /libavcodec/sgidec.c
parent6c697aee52723dbfb8f4b284d51971063c6052b8 (diff)
downloadffmpeg-3e75631541d4cfe3dd23ce71c6e575c07eca500c.tar.gz
avcodec/sgidec: Mark decoder as init-threadsafe
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/sgidec.c')
-rw-r--r--libavcodec/sgidec.c1
1 files changed, 1 insertions, 0 deletions
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,
};