pajoye          Wed Jul 26 10:03:41 2006 UTC

  Modified files:              
    /php-src/ext/gd/libgd       gd_gif_out.c 
  Log:
  - MFB #38214, gif interlace never worked
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd_gif_out.c?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gd/libgd/gd_gif_out.c
diff -u php-src/ext/gd/libgd/gd_gif_out.c:1.2 
php-src/ext/gd/libgd/gd_gif_out.c:1.3
--- php-src/ext/gd/libgd/gd_gif_out.c:1.2       Tue Mar 14 03:46:59 2006
+++ php-src/ext/gd/libgd/gd_gif_out.c   Wed Jul 26 10:03:41 2006
@@ -264,10 +264,12 @@
         int ColorMapSize;
         int InitCodeSize;
         int i;
-       GifCtx ctx;
+               GifCtx ctx;
+
+               memset(&ctx, 0, sizeof(ctx));
         ctx.Interlace = GInterlace;
-       ctx.in_count = 1;
-       memset(&ctx, 0, sizeof(ctx));
+               ctx.in_count = 1;
+
         ColorMapSize = 1 << BitsPerPixel;
 
         RWidth = ctx.Width = GWidth;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to