diff mbox series

[FFmpeg-devel,116/134] avcodec/flacdec: Mark decoder as init-threadsafe

Message ID 20201130005454.110441-44-andreas.rheinhardt@gmail.com
State Accepted
Commit 15d003a49567d5895aeb97d8de119c938316e8eb
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/flacdec.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index cf6128f897..810347fd52 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -678,4 +678,5 @@  AVCodec ff_flac_decoder = {
                                                       AV_SAMPLE_FMT_S32P,
                                                       AV_SAMPLE_FMT_NONE },
     .priv_class     = &flac_decoder_class,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };