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/cafdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/cafdec.c') diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index 20956bcf97..86228595c9 100644 --- a/libavformat/cafdec.c +++ b/libavformat/cafdec.c @@ -48,7 +48,7 @@ typedef struct CafContext { int64_t data_size; ///< raw data size, in bytes } CafContext; -static int probe(AVProbeData *p) +static int probe(const AVProbeData *p) { if (AV_RB32(p->buf) == MKBETAG('c','a','f','f') && AV_RB16(&p->buf[4]) == 1) return AVPROBE_SCORE_MAX; -- cgit v1.2.3