summaryrefslogtreecommitdiff
path: root/libavformat/mmf.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-19 19:45:24 +0200
committerJames Almer <jamrial@gmail.com>2021-04-27 11:48:06 -0300
commitbc70684e74a185d7b80c8b80bdedda659cb581b8 (patch)
tree2be0c484f566fa11c97e3b51b99353c8d2647ea5 /libavformat/mmf.c
parentd92f38c179591a608390ffa9fee59c309142e79d (diff)
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>
Diffstat (limited to 'libavformat/mmf.c')
-rw-r--r--libavformat/mmf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mmf.c b/libavformat/mmf.c
index e4768db064..0c067a1025 100644
--- a/libavformat/mmf.c
+++ b/libavformat/mmf.c
@@ -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",