comparison roqvideodec.c @ 6218:dfdff1ca78a7 libavcodec

consts I have underestimated this a little, and these are just some ...
author michael
date Fri, 01 Feb 2008 03:26:31 +0000
parents f47bc5359101
children a6b0998e45d1
comparison
equal deleted inserted replaced
6217:f838213ca91b 6218:dfdff1ca78a7
41 unsigned long chunk_size = 0; 41 unsigned long chunk_size = 0;
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 unsigned char *buf = ri->buf; 46 const unsigned char *buf = ri->buf;
47 unsigned char *buf_end = ri->buf + ri->size; 47 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);