X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Favr.c;h=6fdcf689529c7ac435b362f1e1e651e98b68e4ac;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=294160e024047467bafbac72d1c3baef0d063595;hpb=f3881c04e93ee70567bd3fe087f49b996b026d30;p=ffmpeg diff --git a/libavformat/avr.c b/libavformat/avr.c index 294160e0240..6fdcf689529 100644 --- a/libavformat/avr.c +++ b/libavformat/avr.c @@ -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,