diff mbox series

[FFmpeg-devel,170/217] avcodec/truespeech: Mark decoder as init-threadsafe

Message ID 20201202042244.519127-36-andreas.rheinhardt@gmail.com
State Accepted
Commit 4051599cea72b81138fadd38dbd14e5e41b940c4
Headers show
Series [FFmpeg-devel,01/45] avcodec/a64multienc: Fix memleak upon init failure | expand

Checks

Context Check Description
andriy/x86 warning Failed to apply patch

Commit Message

Andreas Rheinhardt Dec. 2, 2020, 4:21 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/truespeech.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c
index 3cdae8c556..06f83d1657 100644
--- a/libavcodec/truespeech.c
+++ b/libavcodec/truespeech.c
@@ -362,4 +362,5 @@  AVCodec ff_truespeech_decoder = {
     .init           = truespeech_decode_init,
     .decode         = truespeech_decode_frame,
     .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };