From: kramm Date: Sun, 6 Mar 2005 20:27:13 +0000 (+0000) Subject: removed framerate>0 restriction in order to make Flash Communication Server X-Git-Tag: release-0-7-0~167 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=9920f31d5204693619eb64cbbcfa7d472f40e79f removed framerate>0 restriction in order to make Flash Communication Server compatible SWFs. --- 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");