]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avr.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / avr.c
index 294160e024047467bafbac72d1c3baef0d063595..6fdcf689529c7ac435b362f1e1e651e98b68e4ac 100644 (file)
@@ -24,7 +24,7 @@
 #include "internal.h"
 #include "pcm.h"
 
-static int avr_probe(AVProbeData *p)
+static int avr_probe(const AVProbeData *p)
 {
     if (AV_RL32(p->buf) != MKTAG('2', 'B', 'I', 'T'))
         return 0;
@@ -87,7 +87,7 @@ static int avr_read_header(AVFormatContext *s)
     return 0;
 }
 
-AVInputFormat ff_avr_demuxer = {
+const AVInputFormat ff_avr_demuxer = {
     .name           = "avr",
     .long_name      = NULL_IF_CONFIG_SMALL("AVR (Audio Visual Research)"),
     .read_probe     = avr_probe,