Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-05 20:53:16 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-10 23:12:02 +0300
commitaf7468a28222195245e2a856a1b2407ed8f10252 (patch)
tree6695f51fb4bee342a44bd74e2b3b40dbf7f5584c /libavcodec/ttmlenc.c
parent8f9a4ae63e5d7e997ccbd6fa56d173d7cff51163 (diff)
avcodec/ttmlenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ttmlenc.c')
-rw-r--r--libavcodec/ttmlenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ttmlenc.c b/libavcodec/ttmlenc.c
index e274a92e04..5cab33cc60 100644
--- a/libavcodec/ttmlenc.c
+++ b/libavcodec/ttmlenc.c
@@ -392,5 +392,5 @@ const AVCodec ff_ttml_encoder = {
.init = ttml_encode_init,
.encode_sub = ttml_encode_frame,
.close = ttml_encode_close,
- .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};