diff mbox series

[FFmpeg-devel,156/217] avcodec/s302menc: Mark encoder as init-threadsafe

Message ID 20201202042244.519127-22-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 Dec. 2, 2020, 4:21 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/s302menc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/s302menc.c b/libavcodec/s302menc.c
index b04a54e482..1e1d639420 100644
--- a/libavcodec/s302menc.c
+++ b/libavcodec/s302menc.c
@@ -185,4 +185,5 @@  AVCodec ff_s302m_encoder = {
                                                   AV_CH_LAYOUT_5POINT1_BACK,
                                                   AV_CH_LAYOUT_5POINT1_BACK | AV_CH_LAYOUT_STEREO_DOWNMIX,
                                                   0 }, */
+    .caps_internal         = FF_CODEC_CAP_INIT_THREADSAFE,
 };