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/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/tty.c') diff --git a/libavformat/tty.c b/libavformat/tty.c index aed5c888c3..fbea3196fa 100644 --- a/libavformat/tty.c +++ b/libavformat/tty.c @@ -178,7 +178,7 @@ static const AVClass tty_demuxer_class = { .version = LIBAVUTIL_VERSION_INT, }; -AVInputFormat ff_tty_demuxer = { +const AVInputFormat ff_tty_demuxer = { .name = "tty", .long_name = NULL_IF_CONFIG_SMALL("Tele-typewriter"), .priv_data_size = sizeof(TtyDemuxContext), -- cgit v1.2.3