From bc70684e74a185d7b80c8b80bdedda659cb581b8 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 19 Apr 2021 19:45:24 +0200 Subject: avformat: Constify all muxer/demuxers This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- libavformat/realtextdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/realtextdec.c') diff --git a/libavformat/realtextdec.c b/libavformat/realtextdec.c index f534774420..22fc58bc99 100644 --- a/libavformat/realtextdec.c +++ b/libavformat/realtextdec.c @@ -149,7 +149,7 @@ static int realtext_read_close(AVFormatContext *s) return 0; } -AVInputFormat ff_realtext_demuxer = { +const AVInputFormat ff_realtext_demuxer = { .name = "realtext", .long_name = NULL_IF_CONFIG_SMALL("RealText subtitle format"), .priv_data_size = sizeof(RealTextContext), -- cgit v1.2.3