mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Back out READ/WRITE_INTERLACING changes
Now that the code works consistently so that these just switch off the support for having libpng do the interlace/deinterlace the old names make more sense, restoring them avoids cruft in the configuration file and avoids an unnecessary version specific change. Signed-off-by: John Bowler <jbowler@acm.org>
This commit is contained in:
@@ -420,7 +420,7 @@ png_read_row(png_structrp png_ptr, png_bytep row, png_bytep dsp_row)
|
||||
* is doing the interlace handling (this is the historical
|
||||
* behavior!)
|
||||
*/
|
||||
# ifdef PNG_READ_DEINTERLACE_SUPPORTED
|
||||
# ifdef PNG_READ_INTERLACING_SUPPORTED
|
||||
if (!png_ptr->do_interlace) continue;
|
||||
# else /* !do_interlace */
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user