X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=src%2Fswfcombine.c;h=9ecc162e2b812acb35cabcf3d4f90574dbaabc5a;hp=48847c250a2d2110daad5ee2f3e83014baf120e7;hb=c63b2bf21dc1df9a736f0b4c08f6cba828cdab92;hpb=ebb61a567502ebe4b3d3c4b3284964600fecd90b diff --git a/src/swfcombine.c b/src/swfcombine.c index 48847c2..9ecc162 100644 --- a/src/swfcombine.c +++ b/src/swfcombine.c @@ -128,6 +128,11 @@ int args_callback_option(char*name,char*val) { config.isframe = 1; return 0; } + else if (!strcmp(name, "F")) + { + config.flashversion = atoi(val); + return 1; + } else if (!strcmp(name, "d")) { config.dummy = 1; @@ -316,7 +321,7 @@ void args_callback_usage(char *name) printf("-f , --frame The following identifier is a frame or framelabel, not an id or objectname\n"); printf("-x , --movex x Adjust position of slave by pixels\n"); printf("-y , --movey y Adjust position of slave by pixels\n"); - printf("-s , --scale Adjust size of slave by percent (e.g. 100% = original size)\n"); + printf("-s , --scale Adjust size of slave by percent (e.g. 100%% = original size)\n"); printf("-r , --rate Set movie framerate to (frames/sec)\n"); printf("-X , --width Force movie bbox width to (default: use master width (not with -t))\n"); printf("-Y , --height Force movie bbox height to (default: use master height (not with -t))\n"); @@ -1385,6 +1390,7 @@ int main(int argn, char *argv[]) swf_WriteSWF(fi, &newswf); } close(fi); - return 0; + + return 0; //ok }