From 59693ed96cf8568b6b4d946ceda4afd67de3b1b7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 25 Dec 2012 01:54:20 +0100 Subject: [PATCH] mxf_probe: make buffer related pointers const Signed-off-by: Michael Niedermayer --- libavformat/mxfdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index e8ecbd9083..0141dd92f1 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -2273,8 +2273,8 @@ static int mxf_read_close(AVFormatContext *s) } static int mxf_probe(AVProbeData *p) { - uint8_t *bufp = p->buf; - uint8_t *end = p->buf + p->buf_size; + const uint8_t *bufp = p->buf; + const uint8_t *end = p->buf + p->buf_size; if (p->buf_size < sizeof(mxf_header_partition_pack_key)) return 0;