diff options
author | Guy Schalnat <schalnat at group42.com> | 1996-06-17 16:24:45 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-04-06 16:04:05 -0500 |
commit | c21f90c334a4d7a8f6764c749de0fdea6dc851f5 (patch) | |
tree | 03fc493b4d64a36a0ca85982987bd4311f8daad8 /pngwrite.c | |
parent | e5a37797b4b9bdd5620f8e887e6efbe439064fe3 (diff) | |
download | libpng-c21f90c334a4d7a8f6764c749de0fdea6dc851f5.tar.gz |
Imported from libpng-0.89c.tarv0.89c
Diffstat (limited to 'pngwrite.c')
-rw-r--r-- | pngwrite.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/pngwrite.c b/pngwrite.c index fd68e7a2a..338c369c3 100644 --- a/pngwrite.c +++ b/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) |