mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Imported from libpng-0.89c.tar
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
e5a37797b4
commit
c21f90c334
10
pngwrite.c
10
pngwrite.c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user