diff mbox series

[FFmpeg-devel,28/45] avcodec/sgirledec: Mark decoder as init-threadsafe

Message ID 20201127010249.2724610-28-andreas.rheinhardt@gmail.com
State Accepted
Commit 3c6b6f544cfa343f362fca9597d463c5e9d11e01
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/sgirledec.c | 1 +
 1 file changed, 1 insertion(+)

Comments

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

Obviously ok
diff mbox series

Patch

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