X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fswfcombine.c;h=b4dbfb9cfc08417595d780b1910357b72c86226a;hb=d0c255a3b63de4982e15f1c1c169ebdb08d4163c;hp=16589b1662ee4c0dbea90106224fd68084a133e5;hpb=8081c317843e68de1cce8dee38055916fada47a1;p=swftools.git diff --git a/src/swfcombine.c b/src/swfcombine.c index 16589b1..b4dbfb9 100644 --- a/src/swfcombine.c +++ b/src/swfcombine.c @@ -285,7 +285,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"); @@ -1283,9 +1283,10 @@ int main(int argn, char *argv[]) if(config.zlib) { if(newswf.fileVersion < 6) newswf.fileVersion = 6; - swf_WriteSWC(fi, &newswf); + newswf.compressed = 1; + swf_WriteSWF(fi, &newswf); } else { - newswf.compressed = 0; + newswf.compressed = -1; // don't compress swf_WriteSWF(fi, &newswf); } close(fi);