diff mbox series

[FFmpeg-devel,125/134] avcodec/eacmv: Mark decoder as init-threadsafe

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

Patch

diff --git a/libavcodec/eacmv.c b/libavcodec/eacmv.c
index b239acffda..2bc60155f4 100644
--- a/libavcodec/eacmv.c
+++ b/libavcodec/eacmv.c
@@ -240,5 +240,5 @@  AVCodec ff_eacmv_decoder = {
     .close          = cmv_decode_end,
     .decode         = cmv_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,
 };