summaryrefslogtreecommitdiff
path: root/libavcodec/webvttenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/webvttenc.c')
-rw-r--r--libavcodec/webvttenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/webvttenc.c b/libavcodec/webvttenc.c
index cc47b5aca3..3181e25120 100644
--- a/libavcodec/webvttenc.c
+++ b/libavcodec/webvttenc.c
@@ -26,6 +26,7 @@
#include "libavutil/bprint.h"
#include "ass_split.h"
#include "ass.h"
+#include "internal.h"
#define WEBVTT_STACK_SIZE 64
typedef struct {
@@ -219,4 +220,5 @@ const AVCodec ff_webvtt_encoder = {
.init = webvtt_encode_init,
.encode_sub = webvtt_encode_frame,
.close = webvtt_encode_close,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};