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/afc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/afc.c') diff --git a/libavformat/afc.c b/libavformat/afc.c index 2da04eb5dc..a99f65472d 100644 --- a/libavformat/afc.c +++ b/libavformat/afc.c @@ -69,7 +69,7 @@ static int afc_read_packet(AVFormatContext *s, AVPacket *pkt) return ret; } -AVInputFormat ff_afc_demuxer = { +const AVInputFormat ff_afc_demuxer = { .name = "afc", .long_name = NULL_IF_CONFIG_SMALL("AFC"), .priv_data_size = sizeof(AFCDemuxContext), -- cgit v1.2.3