diff mbox series

[FFmpeg-devel,26/45] avcodec/sgienc: Mark encoder as init-threadsafe

Message ID 20201127010249.2724610-26-andreas.rheinhardt@gmail.com
State Accepted
Commit 2aef81b06377ab9fefad1825cb37860ad19eeb54
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/sgienc.c | 1 +
 1 file changed, 1 insertion(+)

Comments

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

Good and just
diff mbox series

Patch

diff --git a/libavcodec/sgienc.c b/libavcodec/sgienc.c
index 40771d4666..65eff33bc8 100644
--- a/libavcodec/sgienc.c
+++ b/libavcodec/sgienc.c
@@ -300,4 +300,5 @@  AVCodec ff_sgi_encoder = {
         AV_PIX_FMT_GRAY16LE, AV_PIX_FMT_GRAY16BE, AV_PIX_FMT_GRAY8,
         AV_PIX_FMT_NONE
     },
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };