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/jacosubdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/jacosubdec.c') diff --git a/libavformat/jacosubdec.c b/libavformat/jacosubdec.c index f6be5df2d7..50144f7e21 100644 --- a/libavformat/jacosubdec.c +++ b/libavformat/jacosubdec.c @@ -48,7 +48,7 @@ static int timed_line(const char *ptr) (sscanf(ptr, "@%u @%u %c", &fs, &fe, &c) == 3 && fs < fe)); } -static int jacosub_probe(AVProbeData *p) +static int jacosub_probe(const AVProbeData *p) { const char *ptr = p->buf; const char *ptr_end = p->buf + p->buf_size; -- cgit v1.2.3