Browse Source

loas_probe: make buffer pointers const

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

+ 4
- 4
libavformat/loasdec.c View File

@@ -29,10 +29,10 @@ static int loas_probe(AVProbeData *p)
{
int max_frames = 0, first_frames = 0;
int fsize, frames;
uint8_t *buf0 = p->buf;
uint8_t *buf2;
uint8_t *buf;
uint8_t *end = buf0 + p->buf_size - 3;
const uint8_t *buf0 = p->buf;
const uint8_t *buf2;
const uint8_t *buf;
const uint8_t *end = buf0 + p->buf_size - 3;
buf = buf0;

for(; buf < end; buf= buf2+1) {


Loading…
Cancel
Save