use Z_BEST_COMPRESSION

SVN revision: 14951
This commit is contained in:
tsauerbeck 2005-05-26 10:28:41 +00:00 committed by tsauerbeck
parent e2acf51360
commit 26d7e31787
1 changed files with 1 additions and 1 deletions

View File

@ -870,7 +870,7 @@ eet_write(Eet_File *ef, char *name, void *data, int size, int compress)
/* compress the data with max compression */
buflen = (uLongf)data_size;
if (compress2((Bytef *)data2, &buflen, (Bytef *)data,
(uLong)size, 9) != Z_OK)
(uLong)size, Z_BEST_COMPRESSION) != Z_OK)
{
free(name2);
free(data2);