avformat: Constify all muxer/demuxers

This is possible now that the next-API is gone.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Andreas Rheinhardt
2021-04-19 19:45:24 +02:00
committed by James Almer
parent d92f38c179
commit bc70684e74
327 changed files with 927 additions and 927 deletions

View File

@ -295,7 +295,7 @@ static int mmf_read_packet(AVFormatContext *s, AVPacket *pkt)
}
#if CONFIG_MMF_DEMUXER
AVInputFormat ff_mmf_demuxer = {
const AVInputFormat ff_mmf_demuxer = {
.name = "mmf",
.long_name = NULL_IF_CONFIG_SMALL("Yamaha SMAF"),
.priv_data_size = sizeof(MMFContext),
@ -307,7 +307,7 @@ AVInputFormat ff_mmf_demuxer = {
#endif
#if CONFIG_MMF_MUXER
AVOutputFormat ff_mmf_muxer = {
const AVOutputFormat ff_mmf_muxer = {
.name = "mmf",
.long_name = NULL_IF_CONFIG_SMALL("Yamaha SMAF"),
.mime_type = "application/vnd.smaf",