X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fwavdec.c;h=1b131ee2c1cb9401a6b865a2556df5c4717ea8d9;hb=208ae228fa129041dc6671dcc45c025a11bf2cc6;hp=6a024de683a906834ad6968bac01e1137121ab2e;hpb=cd8087444bb459c7c62e21913adfef5ec09675cc;p=ffmpeg diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index 6a024de683a..1b131ee2c1c 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -129,7 +129,7 @@ static int64_t find_tag(WAVDemuxContext * wav, AVIOContext *pb, uint32_t tag1) return size; } -static int wav_probe(AVProbeData *p) +static int wav_probe(const AVProbeData *p) { /* check file header */ if (p->buf_size <= 32) @@ -774,7 +774,7 @@ AVInputFormat ff_wav_demuxer = { #endif /* CONFIG_WAV_DEMUXER */ #if CONFIG_W64_DEMUXER -static int w64_probe(AVProbeData *p) +static int w64_probe(const AVProbeData *p) { if (p->buf_size <= 40) return 0;