Skip to content
Snippets Groups Projects
Commit f89f3d4a authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

str_probe: make buffer related pointers const

parent 28b9099a
No related branches found
No related tags found
No related merge requests found
......@@ -69,8 +69,8 @@ static const uint8_t sync_header[12] = {0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
static int str_probe(AVProbeData *p)
{
uint8_t *sector= p->buf;
uint8_t *end= sector + p->buf_size;
const uint8_t *sector= p->buf;
const uint8_t *end= sector + p->buf_size;
int aud=0, vid=0;
if (p->buf_size < RAW_CD_SECTOR_SIZE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment