From 29397c99e0a323f20a29f850aa0df192e7a70236 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 25 Dec 2012 01:45:21 +0100 Subject: [PATCH] lmlm4_probe: make buffer pointers const Signed-off-by: Michael Niedermayer --- libavformat/lmlm4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/lmlm4.c b/libavformat/lmlm4.c index c3eec02e8f..29ee2a3adc 100644 --- a/libavformat/lmlm4.c +++ b/libavformat/lmlm4.c @@ -35,7 +35,7 @@ #define LMLM4_MAX_PACKET_SIZE 1024 * 1024 static int lmlm4_probe(AVProbeData * pd) { - unsigned char *buf = pd->buf; + const unsigned char *buf = pd->buf; unsigned int frame_type, packet_size; frame_type = AV_RB16(buf+2);