From 4d8875ec23cf299277a0f028ea2ac99eb6f603c9 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 21 Mar 2019 01:18:37 +0100 Subject: lavf: Constify the probe function argument. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin --- libavformat/flacdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/flacdec.c') diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c index a032378045..ea803f57dd 100644 --- a/libavformat/flacdec.c +++ b/libavformat/flacdec.c @@ -211,7 +211,7 @@ fail: return ret; } -static int raw_flac_probe(AVProbeData *p) +static int raw_flac_probe(const AVProbeData *p) { if ((p->buf[2] & 0xF0) == 0) // blocksize code invalid return 0; @@ -227,7 +227,7 @@ static int raw_flac_probe(AVProbeData *p) return AVPROBE_SCORE_EXTENSION / 4 + 1; } -static int flac_probe(AVProbeData *p) +static int flac_probe(const AVProbeData *p) { if ((AV_RB16(p->buf) & 0xFFFE) == 0xFFF8) return raw_flac_probe(p); -- cgit v1.2.3