Imported from libpng-0.89c.tar

This commit is contained in:
Guy Schalnat
1996-06-17 16:24:45 -05:00
committed by Glenn Randers-Pehrson
parent e5a37797b4
commit c21f90c334
9 changed files with 37 additions and 33 deletions

View File

@@ -409,16 +409,6 @@ png_write_row(png_structp png_ptr, png_bytep row)
/* find a filter if necessary, filter the row and write it out */
png_write_find_filter(png_ptr, &(png_ptr->row_info));
/* trade current and prev rows so next filter references are correct */
if (png_ptr->prev_row)
{
png_bytep tptr;
tptr = png_ptr->prev_row;
png_ptr->prev_row = png_ptr->row_buf;
png_ptr->row_buf = tptr;
}
}
#if defined(PNG_WRITE_FLUSH_SUPPORTED)