cvs: php-src /ext/gd/libgd gd_gif_out.c

From: Date: Wed, 26 Jul 2006 10:03:41 +0000
Subject: cvs: php-src /ext/gd/libgd gd_gif_out.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-39539@lists.php.net to get a copy of this message
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;

« previous php.cvs (#39539) next »