aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:45:56 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:45:56 +0100
commite1f9432644a020d8556c00eccde8d9432db416e4 (patch)
treef31af615352b7d72ca55a1f663830b820f175b4a
parent29397c99e0a323f20a29f850aa0df192e7a70236 (diff)
downloadffmpeg-e1f9432644a020d8556c00eccde8d9432db416e4.tar.gz
loas_probe: make buffer pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/loasdec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/loasdec.c b/libavformat/loasdec.c
index ccb9464c33..2a06fe12a7 100644
--- a/libavformat/loasdec.c
+++ b/libavformat/loasdec.c
@@ -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) {