diff mbox series

[FFmpeg-devel,083/134] avcodec/msvideo1: Mark decoder as init-threadsafe

Message ID 20201130005454.110441-11-andreas.rheinhardt@gmail.com
State Accepted
Commit ecaf3c2400845a20c98ef211a784263f284c4b76
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/msvideo1.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/msvideo1.c b/libavcodec/msvideo1.c
index c9bcce552d..3e176bd7ae 100644
--- a/libavcodec/msvideo1.c
+++ b/libavcodec/msvideo1.c
@@ -358,4 +358,5 @@  AVCodec ff_msvideo1_decoder = {
     .close          = msvideo1_decode_end,
     .decode         = msvideo1_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };