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:
eeb31b4
)
removed framerate>0 restriction in order to make Flash Communication Server
author
kramm
<kramm>
Sun, 6 Mar 2005 20:27:13 +0000
(20:27 +0000)
committer
kramm
<kramm>
Sun, 6 Mar 2005 20:27:13 +0000
(20:27 +0000)
compatible SWFs.
src/png2swf.c
patch
|
blob
|
history
diff --git
a/src/png2swf.c
b/src/png2swf.c
index
6cf4189
..
2146ef7
100644
(file)
--- a/
src/png2swf.c
+++ b/
src/png2swf.c
@@
-779,7
+779,9
@@
int args_callback_option(char *arg, char *val)
case 'r':
if (val)
global.framerate = atof(val);
case 'r':
if (val)
global.framerate = atof(val);
- if ((global.framerate < 1.0/256) ||(global.framerate >= 256.0)) {
+ /* removed framerate>0 restriction in order to make
+ Flash Communication Server compatible SWFs */
+ if ((global.framerate < 0) ||(global.framerate >= 256.0)) {
if (VERBOSE(1))
fprintf(stderr,
"Error: You must specify a valid framerate between 1/256 and 255.\n");
if (VERBOSE(1))
fprintf(stderr,
"Error: You must specify a valid framerate between 1/256 and 255.\n");