[FFmpeg-devel] [PATCH 19/45] avcodec/xsubenc: Mark decoder as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Fri Nov 27 03:02:23 EET 2020
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavcodec/xsubenc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/xsubenc.c b/libavcodec/xsubenc.c
index 58be5e6deb..ad7144db2d 100644
--- a/libavcodec/xsubenc.c
+++ b/libavcodec/xsubenc.c
@@ -22,6 +22,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "internal.h"
#include "put_bits.h"
/**
@@ -230,4 +231,5 @@ AVCodec ff_xsub_encoder = {
.id = AV_CODEC_ID_XSUB,
.init = xsub_encoder_init,
.encode_sub = xsub_encode,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
--
2.25.1
More information about the ffmpeg-devel
mailing list