lmlm4_probe: make buffer pointers const
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Dec 2012 00:45:21 +0000 (01:45 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Dec 2012 00:45:43 +0000 (01:45 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/lmlm4.c

index c3eec02..29ee2a3 100644 (file)
@@ -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);