mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng15] Disabled part of the CMF optimization of non-IDAT compressed
chunks, which was added at libpng-1.5.4. It sometimes produces too small of a window. This has been fixed in libpng-1.6.0.
This commit is contained in:
parent
8f7fc403e5
commit
0b8b358b98
7
ANNOUNCE
7
ANNOUNCE
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.5.10beta04 - March 6, 2012
|
Libpng 1.5.10beta04 - March 9, 2012
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
This is not intended to be a public release. It will be replaced
|
||||||
within a few weeks by a public version or by another test version.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -50,8 +50,11 @@ Version 1.5.10beta03 [March 6, 2012]
|
|||||||
of png_ptr->current_text from pngread.c
|
of png_ptr->current_text from pngread.c
|
||||||
Added palette-index checking.
|
Added palette-index checking.
|
||||||
|
|
||||||
Version 1.5.10beta04 [March 6, 2012]
|
Version 1.5.10beta04 [March 9, 2012]
|
||||||
Fixed PNG_LIBPNG_BUILD_BASE_TYPE definition.
|
Fixed PNG_LIBPNG_BUILD_BASE_TYPE definition.
|
||||||
|
Disabled part of the CMF optimization of non-IDAT compressed chunks, which
|
||||||
|
was added at libpng-1.5.4. It sometimes produces too small of a window.
|
||||||
|
This has been fixed in libpng-1.6.0.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
5
CHANGES
5
CHANGES
@ -3835,8 +3835,11 @@ Version 1.5.10beta03 [March 6, 2012]
|
|||||||
of png_ptr->current_text from pngread.c
|
of png_ptr->current_text from pngread.c
|
||||||
Added palette-index checking.
|
Added palette-index checking.
|
||||||
|
|
||||||
Version 1.5.10beta04 [March 6, 2012]
|
Version 1.5.10beta04 [March 9, 2012]
|
||||||
Fixed PNG_LIBPNG_BUILD_BASE_TYPE definition.
|
Fixed PNG_LIBPNG_BUILD_BASE_TYPE definition.
|
||||||
|
Disabled part of the CMF optimization of non-IDAT compressed chunks, which
|
||||||
|
was added at libpng-1.5.4. It sometimes produces too small of a window.
|
||||||
|
This has been fixed in libpng-1.6.0.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
@ -619,6 +619,7 @@ png_write_compressed_data_out(png_structp png_ptr, compression_state *comp)
|
|||||||
if (comp->num_output_ptr)
|
if (comp->num_output_ptr)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#if 0 /* The following sometimes produces incorrect zlib datastreams */
|
||||||
if (comp->output_ptr[0][0] != z_cmf)
|
if (comp->output_ptr[0][0] != z_cmf)
|
||||||
{
|
{
|
||||||
int tmp;
|
int tmp;
|
||||||
@ -628,6 +629,7 @@ png_write_compressed_data_out(png_structp png_ptr, compression_state *comp)
|
|||||||
tmp += 0x1f - ((z_cmf << 8) + tmp) % 0x1f;
|
tmp += 0x1f - ((z_cmf << 8) + tmp) % 0x1f;
|
||||||
comp->output_ptr[0][1] = (png_byte)tmp;
|
comp->output_ptr[0][1] = (png_byte)tmp;
|
||||||
}
|
}
|
||||||
|
#endif /* 0 */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user