Don't be too strict when checking the compression ratio (sf.net

feature request #1596111).
This commit is contained in:
Markus F.X.J. Oberhumer
2006-11-20 09:40:46 +01:00
parent 9e65692b69
commit 4dfe9d52e9
2 changed files with 20 additions and 22 deletions
+1
View File
@@ -171,6 +171,7 @@ protected:
const upx_compress_config_t *cconf = NULL);
virtual void decompress(const upx_bytep in, upx_bytep out,
bool verify_checksum = true, Filter *ft = NULL);
virtual bool checkDefaultCompressionRatio(unsigned u_len, unsigned c_len) const;
virtual bool checkCompressionRatio(unsigned u_len, unsigned c_len) const;
virtual bool checkFinalCompressionRatio(const OutputFile *fo) const;