[libpng15] Don't do the palette-index checking when num_palette is 0.

This commit is contained in:
Glenn Randers-Pehrson
2012-06-07 09:56:30 -05:00
parent 6a169bbe76
commit ff355004dd
3 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
Libpng 1.5.11rc05 - June 6, 2012
Libpng 1.5.11rc05 - June 7, 2012
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@@ -57,7 +57,8 @@ Version 1.5.11rc03 [June 4, 2012]
Version 1.5.11rc04 [June 6, 2012]
Improved efficiency of new do_check_palette_indexes() function.
Version 1.5.11rc05 [June 6, 2012]
Version 1.5.11rc05 [June 7, 2012]
Don't check palette indexes if num_palette is 0 (as it can be in MNG files).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit