From 76b62317b562d95535f755a29d08543999467e2d Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Tue, 11 Oct 2011 13:54:27 -0500 Subject: [PATCH] [libpng15] Fixed bug in png_write_chunk_header() debug print, introduced in 1.5.6bet01. --- ANNOUNCE | 5 +++-- CHANGES | 3 ++- pngwutil.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index 77e27605e..d56be2ea8 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -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 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] 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 of the code, allowing it to be optimized for Adam7 interlace. The masks 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 output row buffers are appropriately aligned. The optimization was not 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: (subscription required; visit diff --git a/CHANGES b/CHANGES index b933efbac..2923d1d80 100644 --- a/CHANGES +++ b/CHANGES @@ -3616,7 +3616,7 @@ Version 1.5.6beta03 [September 28, 2011] Version 1.5.6beta04 [October 5, 2011] 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 of the code, allowing it to be optimized for Adam7 interlace. The masks 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 output row buffers are appropriately aligned. The optimization was not 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 (subscription required; visit diff --git a/pngwutil.c b/pngwutil.c index a9ebbce36..062993a63 100644 --- a/pngwutil.c +++ b/pngwutil.c @@ -92,7 +92,7 @@ png_write_chunk_header(png_structp png_ptr, png_uint_32 chunk_name, { 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); if (png_ptr == NULL)