X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fwestwood_aud.c;h=ff51e8bd36dfdfcb29843f9eba6f24ffcd7045f0;hb=29f5c1e51b0d156f4650b96ab56c07727fe9a9b7;hp=9c2d35cb8a30456bb8c911cfcc1c7489549241c1;hpb=6fc762b4fd2c28ef7a0689a1df5ce200e5f5948f;p=ffmpeg diff --git a/libavformat/westwood_aud.c b/libavformat/westwood_aud.c index 9c2d35cb8a3..ff51e8bd36d 100644 --- a/libavformat/westwood_aud.c +++ b/libavformat/westwood_aud.c @@ -42,7 +42,7 @@ #define AUD_CHUNK_PREAMBLE_SIZE 8 #define AUD_CHUNK_SIGNATURE 0x0000DEAF -static int wsaud_probe(AVProbeData *p) +static int wsaud_probe(const AVProbeData *p) { int field; @@ -178,7 +178,7 @@ static int wsaud_read_packet(AVFormatContext *s, return ret; } -AVInputFormat ff_wsaud_demuxer = { +const AVInputFormat ff_wsaud_demuxer = { .name = "wsaud", .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios audio"), .read_probe = wsaud_probe,