X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpng2swf.c;h=989e3ba2b7557365f2c526c8e320dbeb7615e46b;hb=eb1e7b1301db64f3564576cbfdea6a976010dc5d;hp=fe465512e423077f54c3ae58c2fd68da74400c83;hpb=7b03732b2f00e2698cf29a2ffc0fab8b2b1677f1;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