[devel] Revised a comment about png_do_strip_channel().
This commit is contained in:
parent
b75b24103d
commit
d2795b7909
@ -1491,7 +1491,7 @@ png_do_read_transformations(png_structp png_ptr)
|
|||||||
(png_ptr->row_info.color_type == PNG_COLOR_TYPE_RGB_ALPHA ||
|
(png_ptr->row_info.color_type == PNG_COLOR_TYPE_RGB_ALPHA ||
|
||||||
png_ptr->row_info.color_type == PNG_COLOR_TYPE_GRAY_ALPHA))
|
png_ptr->row_info.color_type == PNG_COLOR_TYPE_GRAY_ALPHA))
|
||||||
png_do_strip_channel(&(png_ptr->row_info), png_ptr->row_buf + 1,
|
png_do_strip_channel(&(png_ptr->row_info), png_ptr->row_buf + 1,
|
||||||
0/*!at_start, because SWAP_ALPHA happens later*/);
|
0 /* at_start == false, because SWAP_ALPHA happens later */);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PNG_READ_RGB_TO_GRAY_SUPPORTED
|
#ifdef PNG_READ_RGB_TO_GRAY_SUPPORTED
|
||||||
|
Loading…
Reference in New Issue
Block a user