diff mbox series

[FFmpeg-devel,180/217] avcodec/vcr1: Mark decoder as init-threadsafe

Message ID 20201202042244.519127-46-andreas.rheinhardt@gmail.com
State New
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/vcr1.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c
index 28a5eec7d1..e19bac1ec7 100644
--- a/libavcodec/vcr1.c
+++ b/libavcodec/vcr1.c
@@ -130,4 +130,5 @@  AVCodec ff_vcr1_decoder = {
     .init           = vcr1_decode_init,
     .decode         = vcr1_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };