From ee1369b853721b6d25a4cbc6ab67f848711b11cb Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Thu, 31 Mar 2011 23:44:39 -0500 Subject: [PATCH] [devel] Imported from libpng-1.5.3beta01.tar --- libpng.3 | 1 + png.h | 1 + pngwutil.c | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/libpng.3 b/libpng.3 index 7f4764c4b..5e5b904ad 100644 --- a/libpng.3 +++ b/libpng.3 @@ -5277,6 +5277,7 @@ the first widely used release: 1.5.2beta01-03 15 10502 15.so.15.2[.0] 1.5.2rc01-03 15 10502 15.so.15.2[.0] 1.5.2 15 10502 15.so.15.2[.0] + 1.5.3beta01 15 10503 15.so.15.3[.0] Henceforth the source version will match the shared-library minor and patch numbers; the shared-library major version number will be diff --git a/png.h b/png.h index 108f3116e..2fe787eeb 100644 --- a/png.h +++ b/png.h @@ -150,6 +150,7 @@ * 1.5.2beta01-03 15 10502 15.so.15.2[.0] * 1.5.2rc01-03 15 10502 15.so.15.2[.0] * 1.5.2 15 10502 15.so.15.2[.0] + * 1.5.3beta01 15 10503 15.so.15.3[.0] * * Henceforth the source version will match the shared-library major * and minor numbers; the shared-library major version number will be diff --git a/pngwutil.c b/pngwutil.c index 01e4c1627..957789bd0 100644 --- a/pngwutil.c +++ b/pngwutil.c @@ -258,6 +258,8 @@ png_text_compress(png_structp png_ptr, if (!(png_ptr->mode & PNG_ZLIB_READY_FOR_ZTXT)) { + + /* png_warning(png_ptr, "Initialize compressor for ztxt"); */ /* Free memory from previously opened zstream */ deflateEnd(&png_ptr->zstream); @@ -685,6 +687,7 @@ png_write_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, png_ptr->zlib_text_method = 8; #endif /* PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION */ + /* png_warning(png_ptr, "Initialize compressor for IDAT"); */ /* Free memory from previously opened zstream */ deflateEnd(&png_ptr->zstream); /* Initialize the zlib compressor */ @@ -787,6 +790,8 @@ png_write_IDAT(png_structp png_ptr, png_bytep data, png_size_t length) if (png_ptr->mode & PNG_ZLIB_READY_FOR_ZTXT) { + /* png_warning(png_ptr, "Initialize compressor for IDAT"); */ + /* Free memory from previously opened zstream */ deflateEnd(&png_ptr->zstream);