From 9920f31d5204693619eb64cbbcfa7d472f40e79f Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 6 Mar 2005 20:27:13 +0000 Subject: [PATCH] removed framerate>0 restriction in order to make Flash Communication Server compatible SWFs. --- src/png2swf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/png2swf.c b/src/png2swf.c index 6cf4189..2146ef7 100644 --- 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); - 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"); -- 1.7.10.4