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/movenc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libavformat/movenc.c') diff --git a/libavformat/movenc.c b/libavformat/movenc.c index b3d1fda435..f33792661b 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -7209,7 +7209,7 @@ static const AVCodecTag codec_f4v_tags[] = { #if CONFIG_MOV_MUXER MOV_CLASS(mov) -AVOutputFormat ff_mov_muxer = { +const AVOutputFormat ff_mov_muxer = { .name = "mov", .long_name = NULL_IF_CONFIG_SMALL("QuickTime / MOV"), .extensions = "mov", @@ -7232,7 +7232,7 @@ AVOutputFormat ff_mov_muxer = { #endif #if CONFIG_TGP_MUXER MOV_CLASS(tgp) -AVOutputFormat ff_tgp_muxer = { +const AVOutputFormat ff_tgp_muxer = { .name = "3gp", .long_name = NULL_IF_CONFIG_SMALL("3GP (3GPP file format)"), .extensions = "3gp", @@ -7252,7 +7252,7 @@ AVOutputFormat ff_tgp_muxer = { #endif #if CONFIG_MP4_MUXER MOV_CLASS(mp4) -AVOutputFormat ff_mp4_muxer = { +const AVOutputFormat ff_mp4_muxer = { .name = "mp4", .long_name = NULL_IF_CONFIG_SMALL("MP4 (MPEG-4 Part 14)"), .mime_type = "video/mp4", @@ -7274,7 +7274,7 @@ AVOutputFormat ff_mp4_muxer = { #endif #if CONFIG_PSP_MUXER MOV_CLASS(psp) -AVOutputFormat ff_psp_muxer = { +const AVOutputFormat ff_psp_muxer = { .name = "psp", .long_name = NULL_IF_CONFIG_SMALL("PSP MP4 (MPEG-4 Part 14)"), .extensions = "mp4,psp", @@ -7295,7 +7295,7 @@ AVOutputFormat ff_psp_muxer = { #endif #if CONFIG_TG2_MUXER MOV_CLASS(tg2) -AVOutputFormat ff_tg2_muxer = { +const AVOutputFormat ff_tg2_muxer = { .name = "3g2", .long_name = NULL_IF_CONFIG_SMALL("3GP2 (3GPP2 file format)"), .extensions = "3g2", @@ -7315,7 +7315,7 @@ AVOutputFormat ff_tg2_muxer = { #endif #if CONFIG_IPOD_MUXER MOV_CLASS(ipod) -AVOutputFormat ff_ipod_muxer = { +const AVOutputFormat ff_ipod_muxer = { .name = "ipod", .long_name = NULL_IF_CONFIG_SMALL("iPod H.264 MP4 (MPEG-4 Part 14)"), .mime_type = "video/mp4", @@ -7336,7 +7336,7 @@ AVOutputFormat ff_ipod_muxer = { #endif #if CONFIG_ISMV_MUXER MOV_CLASS(ismv) -AVOutputFormat ff_ismv_muxer = { +const AVOutputFormat ff_ismv_muxer = { .name = "ismv", .long_name = NULL_IF_CONFIG_SMALL("ISMV/ISMA (Smooth Streaming)"), .mime_type = "video/mp4", @@ -7358,7 +7358,7 @@ AVOutputFormat ff_ismv_muxer = { #endif #if CONFIG_F4V_MUXER MOV_CLASS(f4v) -AVOutputFormat ff_f4v_muxer = { +const AVOutputFormat ff_f4v_muxer = { .name = "f4v", .long_name = NULL_IF_CONFIG_SMALL("F4V Adobe Flash Video"), .mime_type = "application/f4v", -- cgit v1.2.3