diff --git a/ANNOUNCE b/ANNOUNCE index 8a3f3283e..c49ead034 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,5 +1,5 @@ -Libpng 1.4.0beta103 - November 20, 2009 +Libpng 1.4.0beta103 - November 21, 2009 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. @@ -692,8 +692,12 @@ version 1.4.0beta102 [November 18, 2009] scripts/README.txt Updated the copyright year in scripts/pngwin.rc from 2006 to 2009. -version 1.4.0beta103 [November 20, 2009] +version 1.4.0beta103 [November 21, 2009] Removed obsolete comments about ASM from projects/visualc71/README_zlib.txt + Restored the PNG_WRITE_FLUSH_AFTER_IEND guard around the call to png_flush() + after png_write_IEND(). See 1.4.0beta32, 1.4.0beta50 changes above + and 1.2.30, 1.2.30rc01 and rc03 in 1.2.41 CHANGES. Someone needs this + feature but I don't remember who. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 3400dc0b9..9a5ff997c 100644 --- a/CHANGES +++ b/CHANGES @@ -2379,8 +2379,12 @@ version 1.4.0beta102 [November 18, 2009] scripts/README.txt Updated the copyright year in scripts/pngwin.rc from 2006 to 2009. -version 1.4.0beta103 [November 20, 2009] +version 1.4.0beta103 [November 21, 2009] Removed obsolete comments about ASM from projects/visualc71/README_zlib.txt + Restored the PNG_WRITE_FLUSH_AFTER_IEND_SUPPORTED guard around the call + to png_flush() after png_write_IEND(). See 1.4.0beta32, 1.4.0beta50 + changes above and 1.2.30, 1.2.30rc01 and rc03 in 1.2.41 CHANGES. Someone + needs this feature but I don't remember who. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/pngwrite.c b/pngwrite.c index 8690d4ff3..3fdf78c6e 100644 --- a/pngwrite.c +++ b/pngwrite.c @@ -1,7 +1,7 @@ /* pngwrite.c - general routines to write a PNG file * - * Last changed in libpng 1.4.0 [November 20, 2009] + * Last changed in libpng 1.4.0 [November 21, 2009] * Copyright (c) 1998-2009 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) @@ -412,11 +412,14 @@ png_write_end(png_structp png_ptr, png_infop info_ptr) /* This flush, added in libpng-1.0.8, removed from libpng-1.0.9beta03, * and restored again in libpng-1.2.30, may cause some applications that * do not set png_ptr->output_flush_fn to crash. If your application - * experiences a problem, please report the event to + * experiences a problem, please try building libpng with + * PNG_WRITE_FLUSH_AFTER_IEND_SUPPORTED defined, and report the event to * png-mng-implement at lists.sf.net . */ #ifdef PNG_WRITE_FLUSH_SUPPORTED +# ifdef PNG_WRITE_FLUSH_AFTER_IEND_SUPPORTED png_flush(png_ptr); +# endif #endif }