iccvid: Unused variable fix

Andrew Talbot andrew.talbot at talbotville.com
Thu Apr 17 11:39:46 CDT 2008


Changelog:
    iccvid: Unused variable fix.

diff --git a/dlls/iccvid/iccvid.c b/dlls/iccvid/iccvid.c
index 19faf1d..a82d0ba 100644
--- a/dlls/iccvid/iccvid.c
+++ b/dlls/iccvid/iccvid.c
@@ -390,7 +390,10 @@ 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;
+#ifdef ORIGINAL
+    unsigned char *frm_end;
+#endif
     unsigned int i, cur_strip;
     int d0, d1, d2, d3, frm_stride, bpp = 3;
     fn_cvid_v1 cvid_v1 = cvid_v1_24;
@@ -431,7 +434,9 @@ static void decode_cinepak(cinepak_info *cvinfo, unsigned char *buf, int size,
 
     frm_stride = width * bpp;
     frm_ptr = frame;
+#ifdef ORIGINAL
     frm_end = frm_ptr + width * height * bpp;
+#endif
 
     if(len != size)
         {



More information about the wine-patches mailing list