[libpng10] Imported from libpng-1.0.39rc03.tar

This commit is contained in:
Glenn Randers-Pehrson
2008-08-19 17:54:54 -05:00
parent a22f977a29
commit 62fef7d0ca
48 changed files with 120 additions and 110 deletions

View File

@@ -396,11 +396,13 @@ 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 this problem, please try building libpng with
* PNG_NO_WRITE_FLUSH defined, and report the event to png-mng-implement
* at lists.sf.net .
* 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 . This kludge will be removed
* from libpng-1.4.0.
*/
#if defined(PNG_WRITE_FLUSH_SUPPORTED)
#if defined(PNG_WRITE_FLUSH_SUPPORTED) && \
defined(PNG_WRITE_FLUSH_AFTER_IEND_SUPPORTED)
png_flush(png_ptr);
#endif
}