diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-25 04:45:21 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-25 04:45:43 +0400 |
commit | 29397c99e0a323f20a29f850aa0df192e7a70236 (patch) | |
tree | f3a4741008325596cdc5eb3662c8a9ba8dc31d87 /libavformat | |
parent | 23348647b2fa6b97f3ea017d3783b8bfbb9c79fc (diff) |
lmlm4_probe: make buffer pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/lmlm4.c | 2 |
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); |