Browse Source

microdvd_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
9d95deef61
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/microdvddec.c

+ 2
- 1
libavformat/microdvddec.c View File

@@ -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