diff options
Diffstat (limited to 'pngwrite.c')
-rw-r--r-- | pngwrite.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pngwrite.c b/pngwrite.c index 69a88aa2e..682bea8cf 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.2.30 [August 15, 2008] + * Last changed in libpng 1.2.31 [August 19, 2008] * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2008 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -396,10 +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 report the event to - * png-mng-implement at lists.sf.net . + * 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 . */ +#if defined(PNG_WRITE_FLUSH_SUPPORTED) png_flush(png_ptr); +#endif } #if defined(PNG_WRITE_tIME_SUPPORTED) |