Imported from libpng-1.2.17beta2.tar

This commit is contained in:
Glenn Randers-Pehrson
2007-04-26 15:45:59 -05:00
parent 11cf76edb3
commit 0a3d2cc68b
54 changed files with 184 additions and 156 deletions

View File

@@ -1553,11 +1553,11 @@ void PNGAPI
png_progressive_combine_row (png_structp png_ptr,
png_bytep old_row, png_bytep new_row)
{
if(png_ptr == NULL) return;
#ifdef PNG_USE_LOCAL_ARRAYS
const int FARDATA png_pass_dsp_mask[7] =
{0xff, 0x0f, 0xff, 0x33, 0xff, 0x55, 0xff};
#endif
if(png_ptr == NULL) return;
if (new_row != NULL) /* new_row must == png_ptr->row_buf here. */
png_combine_row(png_ptr, old_row, png_pass_dsp_mask[png_ptr->pass]);
}