diff mbox series

[FFmpeg-devel,157/217] avcodec/alacenc: Mark encoder as init-threadsafe

Message ID 20201202042244.519127-23-andreas.rheinhardt@gmail.com
State Accepted
Commit beaf065f82d479f4f2fedf806c8c86da1d387134
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:21 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/alacenc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 9d135d1350..5decf8588c 100644
--- a/libavcodec/alacenc.c
+++ b/libavcodec/alacenc.c
@@ -672,4 +672,5 @@  AVCodec ff_alac_encoder = {
     .sample_fmts    = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S32P,
                                                      AV_SAMPLE_FMT_S16P,
                                                      AV_SAMPLE_FMT_NONE },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };