microdvd_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-12-25 01:50:58 +01:00
parent c3cb338955
commit 9d95deef61

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)