microdvd_probe: make buffer pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c3cb338955
commit
9d95deef61
@ -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…
Reference in New Issue
Block a user