[libpng17] Made default Zlib compression settings be configurable. This adds #defines to

pnglibconf.h to control the defaults.
This commit is contained in:
John Bowler
2012-12-20 22:16:51 -06:00
committed by Glenn Randers-Pehrson
parent 5a0afcfa63
commit e699993d70
6 changed files with 205 additions and 174 deletions

View File

@@ -338,10 +338,10 @@ png_deflate_claim(png_structrp png_ptr, png_uint_32 owner,
strategy = png_ptr->zlib_strategy;
else if (png_ptr->do_filter != PNG_FILTER_NONE)
strategy = Z_FILTERED;
strategy = PNG_Z_DEFAULT_STRATEGY;
else
strategy = Z_DEFAULT_STRATEGY;
strategy = PNG_Z_DEFAULT_NOFILTER_STRATEGY;
}
else