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

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Nov 30 02:54:47 EET 2020


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavcodec/dvdsubenc.c | 1 +
 1 file changed, 1 insertion(+)

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,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list