diff mbox series

[FFmpeg-devel,085/134] avcodec/mvcdec: Mark decoders as init-threadsafe

Message ID 20201130005454.110441-13-andreas.rheinhardt@gmail.com
State Accepted
Commit 93aa9056e81f58e00cd3a3252eaa63733bb50dac
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 Nov. 30, 2020, 12:54 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/mvcdec.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/libavcodec/mvcdec.c b/libavcodec/mvcdec.c
index e507674c22..5dc72c4715 100644
--- a/libavcodec/mvcdec.c
+++ b/libavcodec/mvcdec.c
@@ -262,6 +262,7 @@  AVCodec ff_mvc1_decoder = {
     .init           = mvc_decode_init,
     .decode         = mvc_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
 #endif
 
@@ -275,5 +276,6 @@  AVCodec ff_mvc2_decoder = {
     .init           = mvc_decode_init,
     .decode         = mvc_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
 #endif