From 7a84664ffe54dbc19eab093e8f34aa9bec3dfd1e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 25 Dec 2012 01:51:32 +0100 Subject: [PATCH] mp3_read_probe: make buffer related pointers const Signed-off-by: Michael Niedermayer --- libavformat/mp3dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index d11dceb52d..c6d6987eaa 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -49,7 +49,7 @@ static int mp3_read_probe(AVProbeData *p) int max_frames, first_frames = 0; int fsize, frames, sample_rate; uint32_t header; - uint8_t *buf, *buf0, *buf2, *end; + const uint8_t *buf, *buf0, *buf2, *end; AVCodecContext avctx; buf0 = p->buf;