summaryrefslogtreecommitdiff
path: root/libavcodec/ttmlenc.c
diff options
context:
space:
mode:
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 83485197c9..09f2657cd6 100644
--- a/libavcodec/ttmlenc.c
+++ b/libavcodec/ttmlenc.c
@@ -383,7 +383,7 @@ static av_cold int ttml_encode_init(AVCodecContext *avctx)
return 0;
}
-AVCodec ff_ttml_encoder = {
+const AVCodec ff_ttml_encoder = {
.name = "ttml",
.long_name = NULL_IF_CONFIG_SMALL("TTML subtitle"),
.type = AVMEDIA_TYPE_SUBTITLE,