diff mbox series

[FFmpeg-devel,103/134] avcodec/g726: Mark encoders as init-threadsafe

Message ID 20201130005454.110441-31-andreas.rheinhardt@gmail.com
State New
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/g726.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/libavcodec/g726.c b/libavcodec/g726.c
index 6f8aa6a725..c263ecffe0 100644
--- a/libavcodec/g726.c
+++ b/libavcodec/g726.c
@@ -409,6 +409,7 @@  AVCodec ff_adpcm_g726_encoder = {
                                                      AV_SAMPLE_FMT_NONE },
     .priv_class     = &g726_class,
     .defaults       = defaults,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
 #endif
 
@@ -433,6 +434,7 @@  AVCodec ff_adpcm_g726le_encoder = {
                                                      AV_SAMPLE_FMT_NONE },
     .priv_class     = &g726le_class,
     .defaults       = defaults,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
 #endif