[libpng16] Imported from libpng-1.6.11beta02.tar

This commit is contained in:
Glenn Randers-Pehrson
2014-04-06 08:59:57 -05:00
parent fa26eb1678
commit c4b3718856
26 changed files with 69 additions and 67 deletions

View File

@@ -979,15 +979,15 @@ png_push_process_row(png_structrp png_ptr)
#ifdef PNG_READ_INTERLACING_SUPPORTED
/* Blow up interlaced rows to full size */
/* Expand interlaced rows to full size */
if (png_ptr->interlaced && (png_ptr->transformations & PNG_INTERLACE))
{
if (png_ptr->pass < 6)
png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass,
png_ptr->transformations);
switch (png_ptr->pass)
{
switch (png_ptr->pass)
{
case 0:
{
int i;