diff mbox series

[FFmpeg-devel,126/134] avcodec/dxa: Mark decoder as init-threadsafe

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

Patch

diff --git a/libavcodec/dxa.c b/libavcodec/dxa.c
index 3f62eac252..c05d24b43e 100644
--- a/libavcodec/dxa.c
+++ b/libavcodec/dxa.c
@@ -370,5 +370,5 @@  AVCodec ff_dxa_decoder = {
     .close          = decode_end,
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
-    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
 };