diff mbox series

[FFmpeg-devel,077/134] avcodec/midivid: Mark decoder as init-threadsafe

Message ID 20201130005454.110441-5-andreas.rheinhardt@gmail.com
State Accepted
Commit cf728ce04184400846147753b35cb4865dbaa339
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:53 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/midivid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/midivid.c b/libavcodec/midivid.c
index 2200440e2c..a86142dd7b 100644
--- a/libavcodec/midivid.c
+++ b/libavcodec/midivid.c
@@ -288,5 +288,5 @@  AVCodec ff_mvdv_decoder = {
     .flush          = decode_flush,
     .close          = decode_close,
     .capabilities   = AV_CODEC_CAP_DR1,
-    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
 };