]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mgsts.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / mgsts.c
index 0720de8d8687f1a0d797a612299df636b1d83661..02f65e7b1b5369e73cf5687b67cfdf2096484250 100644 (file)
@@ -24,7 +24,7 @@
 #include "avformat.h"
 #include "riff.h"
 
-static int read_probe(AVProbeData *p)
+static int read_probe(const AVProbeData *p)
 {
     if (AV_RB32(p->buf     ) != 0x000E ||
         AV_RB32(p->buf +  4) != 0x0050 ||
@@ -96,7 +96,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
     return ret;
 }
 
-AVInputFormat ff_mgsts_demuxer = {
+const AVInputFormat ff_mgsts_demuxer = {
     .name        = "mgsts",
     .long_name   = NULL_IF_CONFIG_SMALL("Metal Gear Solid: The Twin Snakes"),
     .read_probe  = read_probe,