Imported from libpng-0.99k.tar

This commit is contained in:
Glenn Randers-Pehrson
1998-03-07 14:33:00 -06:00
parent 983ec160b4
commit ea3bcd7087
17 changed files with 43 additions and 48 deletions

View File

@@ -2059,7 +2059,7 @@ png_read_finish_row(png_structp png_ptr)
png_ptr->zstream.next_out = (Byte *)&extra;
png_ptr->zstream.avail_out = (uInt)1;
do
for(;;)
{
if (!(png_ptr->zstream.avail_in))
{
@@ -2102,7 +2102,7 @@ png_read_finish_row(png_structp png_ptr)
if (!(png_ptr->zstream.avail_out))
png_error(png_ptr, "Extra compressed data");
} while (1);
}
png_ptr->zstream.avail_out = 0;
}