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/jvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/jvdec.c') diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c index b2c067fb99..18c81f0de7 100644 --- a/libavformat/jvdec.c +++ b/libavformat/jvdec.c @@ -52,7 +52,7 @@ typedef struct JVDemuxContext { #define MAGIC " Compression by John M Phillips Copyright (C) 1995 The Bitmap Brothers Ltd." -static int read_probe(AVProbeData *pd) +static int read_probe(const AVProbeData *pd) { if (pd->buf[0] == 'J' && pd->buf[1] == 'V' && strlen(MAGIC) + 4 <= pd->buf_size && !memcmp(pd->buf + 4, MAGIC, strlen(MAGIC))) -- cgit v1.2.1