[libpng16] Remove whitespace at end of lines

This commit is contained in:
John Bowler
2012-03-02 13:13:15 -06:00
committed by Glenn Randers-Pehrson
parent a0ddf0b5f2
commit 6f237b6bf0
63 changed files with 558 additions and 1069 deletions

View File

@@ -744,6 +744,14 @@ png_read_end(png_structrp png_ptr, png_inforp info_ptr)
png_crc_finish(png_ptr, 0); /* Finish off CRC from last IDAT chunk */
#ifdef PNG_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED
/* Report invalid palette index; added at libng-1.5.10 */
if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
png_ptr->num_palette_max > png_ptr->num_palette)
png_warning(png_ptr, "palette index exceeded num_palette; "
"pixel(s) rendered opaque black");
#endif
do
{
png_uint_32 length = png_read_chunk_header(png_ptr);