]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/westwood_aud.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / westwood_aud.c
index 9c2d35cb8a30456bb8c911cfcc1c7489549241c1..ff51e8bd36dfdfcb29843f9eba6f24ffcd7045f0 100644 (file)
@@ -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,