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:
62e08cf
)
swf gfxsource
author
kramm
<kramm>
Tue, 20 Feb 2007 18:50:50 +0000
(18:50 +0000)
committer
kramm
<kramm>
Tue, 20 Feb 2007 18:50:50 +0000
(18:50 +0000)
lib/swf/Makefile.in
patch
|
blob
|
history
lib/swf/swf.c
patch
|
blob
|
history
diff --git
a/lib/swf/Makefile.in
b/lib/swf/Makefile.in
index
d938933
..
e198ce2
100644
(file)
--- a/
lib/swf/Makefile.in
+++ b/
lib/swf/Makefile.in
@@
-17,6
+17,9
@@
libswf_objects = swf.$(O)
$(AR) r ../libswf$(A)
$(RANLIB) ../libswf$(A)
+swfrender: $(libswf_objects) ../../src/swfrender.c ../devices/render.$(O)
+ $(L) ../../src/swfrender.c $(libswf_objects) ../librfxswf$(A) ../gfxtools.$(O) ../png.$(O) ../devices/render.$(O) -o swfrender $(LIBS)
+
install:
uninstall:
diff --git
a/lib/swf/swf.c
b/lib/swf/swf.c
index
a5f002f
..
27854cd
100644
(file)
--- a/
lib/swf/swf.c
+++ b/
lib/swf/swf.c
@@
-241,7
+241,7
@@
static map16_t* extractFrame(TAG*startTag, int frame_to_extract)
map16_enumerate(depthmap, increaseAge, 0);
}
}
- return 0;
+ return depthmap;
}
// ---- render handling ----
@@
-539,6
+539,7
@@
gfxdocument_t*swf_open(char*filename)
i->width = (swf.movieSize.xmax - swf.movieSize.xmin) / 20;
i->height = (swf.movieSize.ymax - swf.movieSize.ymin) / 20;
+ swf_doc->num_pages = swf.frameCount;
swf_doc->internal = i;
swf_doc->get = 0;
swf_doc->destroy = swf_doc_destroy;