diff mbox series

[FFmpeg-devel,087/134] avcodec/jvdec: Mark decoder as init-threadsafe

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

Patch

diff --git a/libavcodec/jvdec.c b/libavcodec/jvdec.c
index 6f10157b0d..f60db9b136 100644
--- a/libavcodec/jvdec.c
+++ b/libavcodec/jvdec.c
@@ -243,4 +243,5 @@  AVCodec ff_jv_decoder = {
     .close          = decode_close,
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };