[devel] Imported from libpng-1.5.3beta01.tar

This commit is contained in:
Glenn Randers-Pehrson 2011-03-31 23:44:39 -05:00
parent ea0c7b699e
commit ee1369b853
3 changed files with 7 additions and 0 deletions

View File

@ -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

1
png.h
View File

@ -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

View File

@ -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);