[libpng15] Fixed bug in png_write_chunk_header() debug print,

introduced in 1.5.6bet01.
This commit is contained in:
Glenn Randers-Pehrson 2011-10-11 13:54:27 -05:00
parent 4dd0dc6399
commit 76b62317b5
3 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.5.6beta05 - October 7, 2011 Libpng 1.5.6beta05 - October 11, 2011
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.
@ -55,7 +55,7 @@ Version 1.5.6beta03 [September 28, 2011]
Version 1.5.6beta04 [October 5, 2011] Version 1.5.6beta04 [October 5, 2011]
Fixed typo in Makefile.in and Makefile.am ("-M Wl" should be "-M -Wl")." Fixed typo in Makefile.in and Makefile.am ("-M Wl" should be "-M -Wl")."
Version 1.5.6beta05 [October 7, 2011] Version 1.5.6beta05 [October 11, 2011]
Speed up png_combine_row() for interlaced images. This reduces the generality Speed up png_combine_row() for interlaced images. This reduces the generality
of the code, allowing it to be optimized for Adam7 interlace. The masks of the code, allowing it to be optimized for Adam7 interlace. The masks
passed to png_combine_row() are now generated internally, avoiding passed to png_combine_row() are now generated internally, avoiding
@ -68,6 +68,7 @@ Version 1.5.6beta05 [October 7, 2011]
percentage for 16-bit and 32-bit pixels in the typical case where the percentage for 16-bit and 32-bit pixels in the typical case where the
output row buffers are appropriately aligned. The optimization was not output row buffers are appropriately aligned. The optimization was not
previously possible because the png_struct buffer was always misaligned. previously possible because the png_struct buffer was always misaligned.
Fixed bug in png_write_chunk_header() debug print, introduced in 1.5.6bet01.
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

View File

@ -3616,7 +3616,7 @@ Version 1.5.6beta03 [September 28, 2011]
Version 1.5.6beta04 [October 5, 2011] Version 1.5.6beta04 [October 5, 2011]
Fixed typo in Makefile.in and Makefile.am ("-M Wl" should be "-M -Wl")." Fixed typo in Makefile.in and Makefile.am ("-M Wl" should be "-M -Wl")."
Version 1.5.6beta05 [October 7, 2011] Version 1.5.6beta05 [October 11, 2011]
Speed up png_combine_row() for interlaced images. This reduces the generality Speed up png_combine_row() for interlaced images. This reduces the generality
of the code, allowing it to be optimized for Adam7 interlace. The masks of the code, allowing it to be optimized for Adam7 interlace. The masks
passed to png_combine_row() are now generated internally, avoiding passed to png_combine_row() are now generated internally, avoiding
@ -3629,6 +3629,7 @@ Version 1.5.6beta05 [October 7, 2011]
percentage for 16-bit and 32-bit pixels in the typical case where the percentage for 16-bit and 32-bit pixels in the typical case where the
output row buffers are appropriately aligned. The optimization was not output row buffers are appropriately aligned. The optimization was not
previously possible because the png_struct buffer was always misaligned. previously possible because the png_struct buffer was always misaligned.
Fixed bug in png_write_chunk_header() debug print, introduced in 1.5.6bet01.
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

View File

@ -92,7 +92,7 @@ png_write_chunk_header(png_structp png_ptr, png_uint_32 chunk_name,
{ {
png_byte buf[8]; png_byte buf[8];
png_debug2(0, "Writing %s chunk, length = %lu", chunk_string, png_debug2(0, "Writing %s chunk, length = %lu", chunk_name,
(unsigned long)length); (unsigned long)length);
if (png_ptr == NULL) if (png_ptr == NULL)