git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33eb5b8
)
fixed problem for SWFs without an END tag
author
kramm
<kramm>
Sun, 9 Dec 2007 17:02:05 +0000
(17:02 +0000)
committer
kramm
<kramm>
Sun, 9 Dec 2007 17:02:05 +0000
(17:02 +0000)
src/swfbbox.c
patch
|
blob
|
history
diff --git
a/src/swfbbox.c
b/src/swfbbox.c
index
138ad1e
..
9fbacaf
100644
(file)
--- a/
src/swfbbox.c
+++ b/
src/swfbbox.c
@@
-543,7
+543,7
@@
static SRECT getMovieClipBBox(TAG*tag)
memset(&movieSize,0,sizeof(SRECT));
- while (tag->id != ST_END) {
+ while (tag && tag->id != ST_END) {
if (swf_isPlaceTag(tag)) {
if(hasid(tag)) {
depth2id[swf_GetDepth(tag)] = swf_GetPlaceID(tag);