[libpng17] Imported from libpng-1.7.0beta38.tar

This commit is contained in:
Glenn Randers-Pehrson
2014-10-17 09:33:47 -05:00
parent eaad9f9177
commit 9b36280e31
17 changed files with 42 additions and 38 deletions

View File

@@ -1622,7 +1622,7 @@ png_set_benign_errors(png_structrp png_ptr, int allowed)
* It is possible for an indexed (color-type==3) PNG file to contain
* pixels with invalid (out-of-range) indexes if the PLTE chunk has
* fewer entries than the image's bit-depth would allow. We recover
* from this gracefully by filling any incomplete palette with zeroes
* from this gracefully by filling any incomplete palette with zeros
* (opaque black). By default, when this occurs libpng will issue
* a benign error. This API can be used to override that behavior.
*/