Line 0
Link Here
|
|
|
1 |
--- gd_gif_out.c~ 2007-01-04 15:44:31.000000000 +0300 |
2 |
+++ gd_gif_out.c 2013-06-13 17:11:11.000000000 +0400 |
3 |
@@ -586,9 +586,9 @@ |
4 |
int InitCodeSize; |
5 |
int i; |
6 |
GifCtx ctx; |
7 |
+ memset(&ctx, 0, sizeof(ctx)); |
8 |
ctx.Interlace = GInterlace; |
9 |
ctx.in_count = 1; |
10 |
- memset(&ctx, 0, sizeof(ctx)); |
11 |
ColorMapSize = 1 << BitsPerPixel; |
12 |
|
13 |
RWidth = ctx.Width = GWidth; |
14 |
@@ -735,9 +735,9 @@ |
15 |
int InitCodeSize; |
16 |
int i; |
17 |
GifCtx ctx; |
18 |
+ memset(&ctx, 0, sizeof(ctx)); |
19 |
ctx.Interlace = GInterlace; |
20 |
ctx.in_count = 1; |
21 |
- memset(&ctx, 0, sizeof(ctx)); |
22 |
ColorMapSize = 1 << BitsPerPixel; |
23 |
|
24 |
if (LeftOfs < 0) LeftOfs = 0; |