X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fsrtdec.c;h=fa52b85566c8e55bcd5028f01a37363b4d58421c;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=d6ff00ba6d3b4305e6d9777fd07899d38ea2abb0;hpb=d92f38c179591a608390ffa9fee59c309142e79d;p=ffmpeg diff --git a/libavformat/srtdec.c b/libavformat/srtdec.c index d6ff00ba6d3..fa52b85566c 100644 --- a/libavformat/srtdec.c +++ b/libavformat/srtdec.c @@ -234,7 +234,7 @@ static int srt_read_close(AVFormatContext *s) return 0; } -AVInputFormat ff_srt_demuxer = { +const AVInputFormat ff_srt_demuxer = { .name = "srt", .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"), .priv_data_size = sizeof(SRTContext),