diff mbox series

[FFmpeg-devel,186/217] avcodec/v410dec: Mark decoder as init-threadsafe

Message ID 20201202042244.519127-52-andreas.rheinhardt@gmail.com
State Accepted
Commit 07efb4b603ad585d0e42a47f01e0cfe20ff35395
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:22 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/v410dec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/v410dec.c b/libavcodec/v410dec.c
index 7ad5eb8fb5..87c98f75ba 100644
--- a/libavcodec/v410dec.c
+++ b/libavcodec/v410dec.c
@@ -124,5 +124,6 @@  AVCodec ff_v410_decoder = {
     .init         = v410_decode_init,
     .decode       = v410_decode_frame,
     .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SLICE_THREADS |
-                    AV_CODEC_CAP_FRAME_THREADS
+                    AV_CODEC_CAP_FRAME_THREADS,
+    .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
 };