Browse Source

lmlm4_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
29397c99e0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/lmlm4.c

+ 1
- 1
libavformat/lmlm4.c View 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);


Loading…
Cancel
Save