forked from FFmpeg/FFmpeg
str_probe: make buffer related pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
28b9099ac1
commit
f89f3d4a98
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue