diff mbox series

[FFmpeg-devel,181/217] avcodec/v210dec: Mark decoder as init-threadsafe

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

Patch

diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c
index 044d35338b..0dec8a9769 100644
--- a/libavcodec/v210dec.c
+++ b/libavcodec/v210dec.c
@@ -226,4 +226,5 @@  AVCodec ff_v210_decoder = {
                       AV_CODEC_CAP_SLICE_THREADS |
                       AV_CODEC_CAP_FRAME_THREADS,
     .priv_class     = &v210dec_class,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };