- if(swf.compressed)
- printf("[HEADER] File is compressed.\n");
- printf("[HEADER] File size: %ld\n", swf.fileSize);
+ if(swf.compressed) {
+ printf("[HEADER] File is zlib compressed.");
+ if(filesize && swf.fileSize)
+ printf(" Ratio: %02d%%\n", filesize*100/(swf.fileSize));
+ else
+ printf("\n");
+ }
+ printf("[HEADER] File size: %ld%s\n", swf.fileSize, swf.compressed?" (Depacked)":"");