diff mbox series

[FFmpeg-devel,154/217] avcodec/v410enc: Mark encoder as init-threadsafe

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

Checks

Context Check Description
andriy/x86 warning Failed to apply patch

Commit Message

Andreas Rheinhardt Dec. 2, 2020, 4:21 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/v410enc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/v410enc.c b/libavcodec/v410enc.c
index 5e2450279f..a4f91d77e3 100644
--- a/libavcodec/v410enc.c
+++ b/libavcodec/v410enc.c
@@ -88,4 +88,5 @@  AVCodec ff_v410_encoder = {
     .init         = v410_encode_init,
     .encode2      = v410_encode_frame,
     .pix_fmts     = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV444P10, AV_PIX_FMT_NONE },
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };