diff mbox series

[FFmpeg-devel,188/217] avcodec/sanm: Mark decoder as init-threadsafe

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

Patch

diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c
index d0000ebd0c..9c11600b76 100644
--- a/libavcodec/sanm.c
+++ b/libavcodec/sanm.c
@@ -1525,4 +1525,5 @@  AVCodec ff_sanm_decoder = {
     .close          = decode_end,
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };