diff mbox series

[FFmpeg-devel,082/134] avcodec/mss3: Mark decoder as init-threadsafe

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

Patch

diff --git a/libavcodec/mss3.c b/libavcodec/mss3.c
index 74f4b5e671..f57efe50c7 100644
--- a/libavcodec/mss3.c
+++ b/libavcodec/mss3.c
@@ -869,5 +869,5 @@  AVCodec ff_msa1_decoder = {
     .close          = mss3_decode_end,
     .decode         = mss3_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,
 };