unsigned long x, y, y_bottom, frame_flags, strips, cv_width, cv_height,
cnum, strip_id, chunk_id, x0, y0, x1, y1, ci, flag, mask;
long len, top_size, chunk_size;
- unsigned char *frm_ptr, *frm_end;
+ unsigned char *frm_ptr;
unsigned int i, cur_strip;
int d0, d1, d2, d3, frm_stride, bpp = 3;
fn_cvid_v1 cvid_v1 = cvid_v1_24;
fn_cvid_v4 cvid_v4 = cvid_v4_24;
- x = y = 0;
+ y = 0;
y_bottom = 0;
in_buffer = buf;
frm_stride = width * bpp;
frm_ptr = frame;
- frm_end = frm_ptr + width * height * bpp;
if(len != size)
{