[libpng15] Imported from libpng-1.5.6rc01.tar

This commit is contained in:
Glenn Randers-Pehrson
2011-10-26 08:36:21 -05:00
parent 52093f1776
commit 93254f66fc
25 changed files with 76 additions and 74 deletions

View File

@@ -941,7 +941,7 @@ png_handle_cHRM(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
else if (png_ptr->mode & PNG_HAVE_PLTE)
/* Should be an error, but we can cope with it */
png_warning(png_ptr, "Missing PLTE before cHRM");
png_warning(png_ptr, "Out of place cHRM chunk");
if (info_ptr != NULL && (info_ptr->valid & PNG_INFO_cHRM)
# ifdef PNG_READ_sRGB_SUPPORTED