diff mbox series

[FFmpeg-devel,100/134] avcodec/g723_1dec: Mark decoder as init-threadsafe

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

Patch

diff --git a/libavcodec/g723_1dec.c b/libavcodec/g723_1dec.c
index f601d31d00..6c30800742 100644
--- a/libavcodec/g723_1dec.c
+++ b/libavcodec/g723_1dec.c
@@ -1048,4 +1048,5 @@  AVCodec ff_g723_1_decoder = {
     .decode         = g723_1_decode_frame,
     .capabilities   = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1,
     .priv_class     = &g723_1dec_class,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };