Mercurial > libavcodec.hg
diff roqvideodec.c @ 6314:de5d97b6c25b libavcodec
Add some const where appropriate
author | reimar |
---|---|
date | Sat, 02 Feb 2008 21:55:56 +0000 |
parents | a6b0998e45d1 |
children | 814c8bd77d91 |
line wrap: on
line diff
--- a/roqvideodec.c Sat Feb 02 21:38:25 2008 +0000 +++ b/roqvideodec.c Sat Feb 02 21:55:56 2008 +0000 @@ -44,7 +44,7 @@ int frame_stats[2][4] = {{0},{0}}; roq_qcell *qcell; const unsigned char *buf = ri->buf; - unsigned char *buf_end = ri->buf + ri->size; + const unsigned char *buf_end = ri->buf + ri->size; while (buf < buf_end) { chunk_id = bytestream_get_le16(&buf);