[devel] Revised a comment about png_do_strip_channel().

This commit is contained in:
Glenn Randers-Pehrson 2011-04-16 19:41:23 -05:00
parent b75b24103d
commit d2795b7909

View File

@ -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