summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/lmlm4.c2
1 files changed, 1 insertions, 1 deletions
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);