X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fpng2swf.c;h=989e3ba2b7557365f2c526c8e320dbeb7615e46b;hb=fbff71da1a048b5bcb1bb0a048931babf318aaa4;hp=fe465512e423077f54c3ae58c2fd68da74400c83;hpb=5baeb1d824669de629ebf22e396b79d53d5c8fcb;p=swftools.git diff --git a/src/png2swf.c b/src/png2swf.c index fe46551..989e3ba 100644 --- a/src/png2swf.c +++ b/src/png2swf.c @@ -542,6 +542,8 @@ TAG *MovieAddFrame(SWF * swf, TAG * t, char *sname, int id) int transparent=0; int semitransparent=0; /* in case for mode 2, the following also performs 24->32 bit conversion */ + unsigned char* firstline = malloc(header.width*4); + for(y=0;y