diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-03-21 01:18:37 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-03-21 11:42:17 +0100 |
commit | 4d8875ec23cf299277a0f028ea2ac99eb6f603c9 (patch) | |
tree | 6a1d32dd7d4dec420de705f53abe9150675ae3b3 /libavformat/wavdec.c | |
parent | 6dc1da416e14ede6cf8018183f86aeec5cfae86b (diff) |
lavf: Constify the probe function argument.
Reviewed-by: Lauri Kasanen
Reviewed-by: Tomas Härdin
Diffstat (limited to 'libavformat/wavdec.c')
-rw-r--r-- | libavformat/wavdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index 6a024de683..1b131ee2c1 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; |