X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmgsts.c;h=02f65e7b1b5369e73cf5687b67cfdf2096484250;hb=9e13df3776da3a101e895e2840f6f23f5a6f74a0;hp=0720de8d8687f1a0d797a612299df636b1d83661;hpb=8822e2b9543bb02fb2889dff627b6db023053253;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,