[libpng16] Don't check palette indexes if num_palette is 0 (as it can be in

MNG files).
This commit is contained in:
Glenn Randers-Pehrson
2012-06-07 10:18:25 -05:00
parent 8f424b8270
commit 905cc94e3d
3 changed files with 7 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
Libpng 1.6.0beta24 - June 6, 2012
Libpng 1.6.0beta24 - 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.
@@ -380,7 +380,8 @@ Version 1.6.0beta23 [June 6, 2012]
update the value when it actually increases, move test for whether
the check is wanted out of the function.
Version 1.6.0beta24 [June 6, 2012]
Version 1.6.0beta24 [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