X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmgsts.c;h=02f65e7b1b5369e73cf5687b67cfdf2096484250;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=0720de8d8687f1a0d797a612299df636b1d83661;hpb=50ae1f7e0ff1fa00236622415039f7e28d919a25;p=ffmpeg diff --git a/libavformat/mgsts.c b/libavformat/mgsts.c index 0720de8d868..02f65e7b1b5 100644 --- a/libavformat/mgsts.c +++ b/libavformat/mgsts.c @@ -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,