mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
lmlm4_probe: make buffer pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
23348647b2
commit
29397c99e0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user