Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
6313:ce8de7773485 | 6314:de5d97b6c25b |
---|---|
42 int i, j, k, nv1, nv2, vqflg = 0, vqflg_pos = -1; | 42 int i, j, k, nv1, nv2, vqflg = 0, vqflg_pos = -1; |
43 int vqid, bpos, xpos, ypos, xp, yp, x, y, mx, my; | 43 int vqid, bpos, xpos, ypos, xp, yp, x, y, mx, my; |
44 int frame_stats[2][4] = {{0},{0}}; | 44 int frame_stats[2][4] = {{0},{0}}; |
45 roq_qcell *qcell; | 45 roq_qcell *qcell; |
46 const unsigned char *buf = ri->buf; | 46 const unsigned char *buf = ri->buf; |
47 unsigned char *buf_end = ri->buf + ri->size; | 47 const unsigned char *buf_end = ri->buf + ri->size; |
48 | 48 |
49 while (buf < buf_end) { | 49 while (buf < buf_end) { |
50 chunk_id = bytestream_get_le16(&buf); | 50 chunk_id = bytestream_get_le16(&buf); |
51 chunk_size = bytestream_get_le32(&buf); | 51 chunk_size = bytestream_get_le32(&buf); |
52 chunk_arg = bytestream_get_le16(&buf); | 52 chunk_arg = bytestream_get_le16(&buf); |