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/codec2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat/codec2.c') diff --git a/libavformat/codec2.c b/libavformat/codec2.c index 0c2ad3aa01..ce249d4470 100644 --- a/libavformat/codec2.c +++ b/libavformat/codec2.c @@ -300,7 +300,7 @@ static const AVClass codec2raw_demux_class = { }; #if CONFIG_CODEC2_DEMUXER -AVInputFormat ff_codec2_demuxer = { +const AVInputFormat ff_codec2_demuxer = { .name = "codec2", .long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 demuxer"), .priv_data_size = sizeof(Codec2Context), @@ -316,7 +316,7 @@ AVInputFormat ff_codec2_demuxer = { #endif #if CONFIG_CODEC2_MUXER -AVOutputFormat ff_codec2_muxer = { +const AVOutputFormat ff_codec2_muxer = { .name = "codec2", .long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 muxer"), .priv_data_size = sizeof(Codec2Context), @@ -331,7 +331,7 @@ AVOutputFormat ff_codec2_muxer = { #endif #if CONFIG_CODEC2RAW_DEMUXER -AVInputFormat ff_codec2raw_demuxer = { +const AVInputFormat ff_codec2raw_demuxer = { .name = "codec2raw", .long_name = NULL_IF_CONFIG_SMALL("raw codec2 demuxer"), .priv_data_size = sizeof(Codec2Context), -- cgit v1.2.3