Restore png_combine_row() to progressive-read-only builds.

This commit is contained in:
Glenn Randers-Pehrson
2009-05-18 15:28:44 -05:00
parent 5902059c7c
commit 0ab7868d8a
3 changed files with 4 additions and 6 deletions

View File

@@ -2404,7 +2404,6 @@ png_check_chunk_name(png_structp png_ptr, png_bytep chunk_name)
}
}
#ifndef PNG_NO_SEQUENTIAL_READ_SUPPORTED
/* Combines the row recently read in with the existing pixels in the
row. This routine takes care of alpha and transparency if requested.
This routine also handles the two methods of progressive display
@@ -2616,7 +2615,6 @@ png_combine_row(png_structp png_ptr, png_bytep row, int mask)
}
}
}
#endif /* PNG_NO_SEQUENTIAL_READ_SUPPORTED */
#ifdef PNG_READ_INTERLACING_SUPPORTED
/* OLD pre-1.0.9 interface: