X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fswfc.c;h=3a2f7ed29db67f21a91123d4f0e48fd6bceda05b;hb=6e9435d4bcafbe6aac9c04ede599cc4d564c4241;hp=62470751a42daa5ed17d3c2bc77ffcf893c5bcbb;hpb=a1cb9cb40f74933888e5593dbd62f72707228ed2;p=swftools.git diff --git a/src/swfc.c b/src/swfc.c index 6247075..3a2f7ed 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -643,8 +643,7 @@ static void s_endSWF() swf = stack[stackpos].swf; filename = stack[stackpos].filename; - //tag = swf_InsertTag(tag, ST_SHOWFRAME); //? - + tag = swf_InsertTag(tag, ST_SHOWFRAME); tag = swf_InsertTag(tag, ST_END); swf_OptimizeTagOrder(swf); @@ -708,6 +707,14 @@ void s_frame(int nr, int cut, char*name) int t; TAG*now = tag; + /* // enabling the following code will make the frame + handling much more intuitive, but also break old + code: + + if(nr<1) + syntaxerror("Frame number need to be at least 1"); + nr--;*/ + for(t=currentframe;t