diff mbox series

[FFmpeg-devel,25/45] avcodec/sgidec: Mark decoder as init-threadsafe

Message ID 20201127010249.2724610-25-andreas.rheinhardt@gmail.com
State Accepted
Commit 3e75631541d4cfe3dd23ce71c6e575c07eca500c
Headers show
Series [FFmpeg-devel,01/45] avcodec/a64multienc: Fix memleak upon init failure
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Nov. 27, 2020, 1:02 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/sgidec.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Anton Khirnov Dec. 4, 2020, 11:52 a.m. UTC | #1
Quoting Andreas Rheinhardt (2020-11-27 02:02:29)
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavcodec/sgidec.c | 1 +
>  1 file changed, 1 insertion(+)

Sure
diff mbox series

Patch

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,
 };