diff --git a/dlls/iccvid/iccvid.c b/dlls/iccvid/iccvid.c index 19faf1db2ee..77328eabcda 100644 --- a/dlls/iccvid/iccvid.c +++ b/dlls/iccvid/iccvid.c @@ -390,13 +390,13 @@ static void decode_cinepak(cinepak_info *cvinfo, unsigned char *buf, int size, 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; @@ -431,7 +431,6 @@ static void decode_cinepak(cinepak_info *cvinfo, unsigned char *buf, int size, frm_stride = width * bpp; frm_ptr = frame; - frm_end = frm_ptr + width * height * bpp; if(len != size) {