pajoye Wed Jul 26 10:03:10 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/gd/libgd gd_gif_out.c Log: - #38214, gif interlace never works http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd_gif_out.c?r1=1.1.6.1&r2=1.1.6.1.2.1&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.1.6.1 php-src/ext/gd/libgd/gd_gif_out.c:1.1.6.1.2.1 --- php-src/ext/gd/libgd/gd_gif_out.c:1.1.6.1 Mon Mar 13 21:56:38 2006 +++ php-src/ext/gd/libgd/gd_gif_out.c Wed Jul 26 10:03:09 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