summaryrefslogtreecommitdiff
path: root/pngwutil.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2011-03-31 23:44:39 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2011-03-31 23:50:36 -0500
commitee1369b853721b6d25a4cbc6ab67f848711b11cb (patch)
treed5cd0a2d172396accf53cf2976debe3f6d7c59fd /pngwutil.c
parentea0c7b699e3641c770fa77b5a83d19510681ec38 (diff)
downloadlibpng-ee1369b853721b6d25a4cbc6ab67f848711b11cb.tar.gz
[devel] Imported from libpng-1.5.3beta01.tarv1.5.3beta01
Diffstat (limited to 'pngwutil.c')
-rw-r--r--pngwutil.c5
1 files changed, 5 insertions, 0 deletions
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);