X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.c;h=94049b2582cfbddc79bf95ebce2bca8b0a8ee154;hb=84245258e84d865fb1b5a0a6a781c099946398df;hp=b65279095e29d6593df0b5eefc3cd46388fa9fa2;hpb=51b31e3006ab48b9e1a828d76e184226d15d62b5;p=swftools.git diff --git a/lib/rfxswf.c b/lib/rfxswf.c index b652790..94049b2 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -1077,6 +1077,14 @@ void swf_FoldAll(SWF*swf) } } +void swf_FoldAllTags(TAG*tag) +{ + SWF swf; + memset(&swf, 0, sizeof(swf)); + swf.firstTag = tag; + swf_FoldAll(&swf); +} + void swf_UnFoldAll(SWF*swf) { TAG*tag = swf->firstTag;