summaryrefslogtreecommitdiff
path: root/libavformat/lmlm4.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:45:21 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:45:43 +0100
commit29397c99e0a323f20a29f850aa0df192e7a70236 (patch)
treef3a4741008325596cdc5eb3662c8a9ba8dc31d87 /libavformat/lmlm4.c
parent23348647b2fa6b97f3ea017d3783b8bfbb9c79fc (diff)
downloadffmpeg-29397c99e0a323f20a29f850aa0df192e7a70236.tar.gz
lmlm4_probe: make buffer pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/lmlm4.c')
-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);