[master] Imported from libpng-1.5.10rc01.tar

This commit is contained in:
Glenn Randers-Pehrson
2012-03-19 06:19:40 -05:00
parent ae1b45a046
commit 5a13159bfc
32 changed files with 147 additions and 104 deletions

View File

@@ -307,7 +307,7 @@ png_write_end(png_structp png_ptr, png_infop info_ptr)
#ifdef PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED
if (png_ptr->num_palette_max > png_ptr->num_palette)
png_warning(png_ptr, "Wrote palette index exceeding num_palette");
png_benign_error(png_ptr, "Wrote palette index exceeding num_palette");
#endif
/* See if user wants us to write information chunks */