git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
documentation file
[swftools.git]
/
src
/
jpeg2swf.c
diff --git
a/src/jpeg2swf.c
b/src/jpeg2swf.c
index
fae3b40
..
fad1152
100644
(file)
--- a/
src/jpeg2swf.c
+++ b/
src/jpeg2swf.c
@@
-62,7
+62,7
@@
TAG *MovieStart(SWF * swf, float framerate, int dx, int dy)
memset(swf, 0x00, sizeof(SWF));
swf->fileVersion = 4;
memset(swf, 0x00, sizeof(SWF));
swf->fileVersion = 4;
- swf->frameRate = (256.0 * framerate);
+ swf->frameRate = (int)(256.0 * framerate);
swf->movieSize.xmax = dx * 20;
swf->movieSize.ymax = dy * 20;
swf->movieSize.xmax = dx * 20;
swf->movieSize.ymax = dy * 20;