diff mbox series

[FFmpeg-devel,127/134] avcodec/dvdsubenc: Mark encoder as init-threadsafe

Message ID 20201130005454.110441-55-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/dvdsubenc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/dvdsubenc.c b/libavcodec/dvdsubenc.c
index 9fa9d5b6d7..760e3b8c95 100644
--- a/libavcodec/dvdsubenc.c
+++ b/libavcodec/dvdsubenc.c
@@ -516,4 +516,5 @@  AVCodec ff_dvdsub_encoder = {
     .encode_sub     = dvdsub_encode,
     .priv_class     = &dvdsubenc_class,
     .priv_data_size = sizeof(DVDSubtitleContext),
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };