mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Imported from libpng-1.6.3beta04.tar
This commit is contained in:
@@ -4520,6 +4520,11 @@ defined(PNG_USER_TRANSFORM_PTR_SUPPORTED)
|
||||
* windowBts predicted from the uncompressed data size, not the value from
|
||||
* the stream. If READ_OPTIMIZE_WINDOWBITS_SUPPORTED is not defined, then
|
||||
* simply use a 32kbyte window (windowBits=15).
|
||||
*
|
||||
* To do: make this behavior optional via a run-time png_set_something(),
|
||||
* with options to use windowBits=0 (use the zlib header data),
|
||||
* windowBits=15 (use a 32kbyte window), or required_window_bits
|
||||
* computed from the image size, pixel size, and interlacing setting.
|
||||
*/
|
||||
#ifdef PNG_READ_OPTIMIZE_WINDOWBITS_SUPPORTED
|
||||
if (png_inflate_claim(png_ptr, png_IDAT,
|
||||
|
||||
Reference in New Issue
Block a user