git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new function isFolded().
[swftools.git]
/
lib
/
rfxswf.c
diff --git
a/lib/rfxswf.c
b/lib/rfxswf.c
index
93b17d9
..
2c6161e
100644
(file)
--- a/
lib/rfxswf.c
+++ b/
lib/rfxswf.c
@@
-919,6
+919,11
@@
void swf_FoldSprite(TAG * t)
// t->prev = sprtag;
}
+int swf_IsFolded(TAG * t)
+{
+ return (t->id == ST_DEFINESPRITE && t->len>4);
+}
+
void swf_FoldAll(SWF*swf)
{
TAG*tag = swf->firstTag;