mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Made default Zlib compression settings be configurable. This adds #defines to
pnglibconf.h to control the defaults.
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
5a0afcfa63
commit
e699993d70
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user