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:
c9547ee
)
fix: don't insert too many removeobjects.
author
kramm
<kramm>
Wed, 3 Nov 2004 18:52:55 +0000
(18:52 +0000)
committer
kramm
<kramm>
Wed, 3 Nov 2004 18:52:55 +0000
(18:52 +0000)
src/jpeg2swf.c
patch
|
blob
|
history
diff --git
a/src/jpeg2swf.c
b/src/jpeg2swf.c
index
16efc3c
..
4eae988
100644
(file)
--- a/
src/jpeg2swf.c
+++ b/
src/jpeg2swf.c
@@
-254,8
+254,10
@@
TAG *MovieAddFrame(SWF * swf, TAG * t, char *sname, int quality,
swf_ShapeSetLine(t, s, 0, -r.ymax);
swf_ShapeSetEnd(t);
- t = swf_InsertTag(t, ST_REMOVEOBJECT2);
- swf_SetU16(t, 1); // depth
+ if(frame) {
+ t = swf_InsertTag(t, ST_REMOVEOBJECT2);
+ swf_SetU16(t, 1); // depth
+ }
t = swf_InsertTag(t, ST_PLACEOBJECT2);
swf_GetMatrix(NULL, &m);