mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[devel] Clean up ALPHA flags and transformations
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
5432c01ffd
commit
9b872f4cf9
@@ -1026,7 +1026,7 @@ png_push_process_row(png_structp png_ptr)
|
||||
|
||||
png_memcpy(png_ptr->prev_row, png_ptr->row_buf, png_ptr->rowbytes + 1);
|
||||
|
||||
if (png_ptr->transformations || (png_ptr->flags&PNG_FLAG_STRIP_ALPHA))
|
||||
if (png_ptr->transformations)
|
||||
png_do_read_transformations(png_ptr);
|
||||
|
||||
#ifdef PNG_READ_INTERLACING_SUPPORTED
|
||||
|
||||
Reference in New Issue
Block a user