X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fswfcombine.c;h=cecffe1a58bd0115f9cd850a04df01b2b49f5b44;hb=cd42ba4fb3c656affa3caecdf91c622860f18fd1;hp=9ada1a64d6ac7e0ebacc934e581f23b8dfd7e202;hpb=d18ccf3a425ed1a44c54b7d4f5045b6defa08445;p=swftools.git diff --git a/src/swfcombine.c b/src/swfcombine.c index 9ada1a6..cecffe1 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);