[libpng10] Imported from libpng-1.0.22rc1.tar

This commit is contained in:
Glenn Randers-Pehrson
2006-11-20 07:53:59 -06:00
parent 64b481e714
commit b88935a8b2
47 changed files with 4679 additions and 4385 deletions

View File

@@ -131,9 +131,11 @@ png_flush(png_structp png_ptr)
void PNGAPI
png_default_flush(png_structp png_ptr)
{
if(png_ptr == NULL) return;
#if !defined(_WIN32_WCE)
png_FILE_p io_ptr;
#endif
if(png_ptr == NULL) return;
#if !defined(_WIN32_WCE)
io_ptr = (png_FILE_p)CVT_PTR((png_ptr->io_ptr));
if (io_ptr != NULL)
fflush(io_ptr);