microdvd_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/8/head
Michael Niedermayer 12 years ago
parent c3cb338955
commit 9d95deef61
  1. 3
      libavformat/microdvddec.c

@ -35,7 +35,8 @@ typedef struct {
static int microdvd_probe(AVProbeData *p)
{
unsigned char c, *ptr = p->buf;
unsigned char c;
const uint8_t *ptr = p->buf;
int i;
if (AV_RB24(ptr) == 0xEFBBBF)

Loading…
Cancel
Save