X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswftools.c;h=1425383271cbf6cebf6cddf0a7ee440d26fa18fd;hb=aecc804e3bd0642924c2225b76f483c6f32491c7;hp=b43b5a477fa6364cec8341251d318299e2783a76;hpb=c54f8b50b469ec2fdc3db6da162fe5767c6a3e54;p=swftools.git diff --git a/lib/modules/swftools.c b/lib/modules/swftools.c index b43b5a4..1425383 100644 --- a/lib/modules/swftools.c +++ b/lib/modules/swftools.c @@ -116,6 +116,7 @@ U16 swf_GetDefineID(TAG * t) case ST_DEFINESPRITE: case ST_DEFINEMOVIE: case ST_DEFINEVIDEOSTREAM: + case ST_GLYPHNAMES: //pseudodefine case ST_VIDEOFRAME: //pseudodefine case ST_NAMECHARACTER: //pseudodefine id = swf_GetU16(t); @@ -143,8 +144,6 @@ SRECT swf_GetDefineBBox(TAG * t) case ST_DEFINESHAPE2: case ST_DEFINESHAPE3: case ST_DEFINEEDITTEXT: - case ST_DEFINEBUTTON: - case ST_DEFINEBUTTON2: case ST_DEFINETEXT: case ST_DEFINETEXT2: case ST_DEFINEVIDEOSTREAM: @@ -873,6 +872,9 @@ void swf_RelocateDepth(SWF*swf, char*bitmap) while(tag) { + /* TODO * clip depths + * sprites + */ int depth = swf_GetDepth(tag); if(depth>=0) { int newdepth = depth+nr; @@ -891,9 +893,9 @@ TAG* swf_Concatenate (TAG*list1,TAG*list2) TAG*tag=0,*lasttag=0; char bitmap[65536]; char depthmap[65536]; + SWF swf1,swf2; memset(bitmap, 0, sizeof(bitmap)); memset(depthmap, 0, sizeof(depthmap)); - SWF swf1,swf2; memset(&swf1, 0, sizeof(swf1)); memset(&swf2, 0, sizeof(swf2));