diff mbox series

[FFmpeg-devel,12/45] avcodec/y41penc: Mark encoder as init-threadsafe

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

Comments

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

Very ok
diff mbox series

Patch

diff --git a/libavcodec/y41penc.c b/libavcodec/y41penc.c
index d7d301fab5..4340a3fbba 100644
--- a/libavcodec/y41penc.c
+++ b/libavcodec/y41penc.c
@@ -84,4 +84,5 @@  AVCodec ff_y41p_encoder = {
     .encode2      = y41p_encode_frame,
     .pix_fmts     = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV411P,
                                                  AV_PIX_FMT_NONE },
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };