Add some const where appropriate

Originally committed as revision 11818 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger
2008-02-02 21:55:56 +00:00
parent 6be4042c52
commit b3d5468d87
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ static void roqvideo_decode_frame(RoqContext *ri)
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);