Undo mistakes in porting png_memset() calls from libpng-1.2.37beta02

This commit is contained in:
Glenn Randers-Pehrson
2009-05-18 15:52:01 -05:00
parent 0ab7868d8a
commit a31c74f7ef
2 changed files with 7 additions and 3 deletions

View File

@@ -2997,6 +2997,8 @@ png_read_finish_row(png_structp png_ptr)
if (png_ptr->interlaced)
{
png_ptr->row_number = 0;
png_memset(png_ptr->prev_row, 0,
png_ptr->rowbytes + 1);
do
{
png_ptr->pass++;