[libpng16] Corrected fix for unknown handling in pngtest. This reinstates the

libpng handling of unknown chunks other than vpAg and sTER (including
unsafe-to-copy chunks which were dropped before) and eliminates the
repositioning of vpAg and sTER in pngtest.png by changing pngtest.png
(so the chunks are where libpng would put them).
This commit is contained in:
John Bowler
2012-08-16 20:47:34 -05:00
committed by Glenn Randers-Pehrson
parent 4a6c6df6c7
commit 3c1f6983c5
5 changed files with 211 additions and 94 deletions

View File

@@ -4193,7 +4193,7 @@ Version 1.6.0beta27 [August 11, 2012]
Work around gcc 3.x and Microsoft Visual Studio 2010 complaints. Both object
to the split initialization of num_chunks.
Version 1.6.0beta28 [August 16, 2012]
Version 1.6.0beta28 [August 17, 2012]
Unknown handling fixes and clean up. This adds more correct option
control of the unknown handling, corrects the pre-existing bug where
the per-chunk 'keep' setting is ignored and makes it possible to skip
@@ -4208,6 +4208,11 @@ Version 1.6.0beta28 [August 16, 2012]
also removes the support for storing unknown chunks in the info_struct
if the only unknown handling enabled is via the callback, allowing libpng
to be configured with callback reading and none of the unnecessary code.
Corrected fix for unknown handling in pngtest. This reinstates the
libpng handling of unknown chunks other than vpAg and sTER (including
unsafe-to-copy chunks which were dropped before) and eliminates the
repositioning of vpAg and sTER in pngtest.png by changing pngtest.png
(so the chunks are where libpng would put them).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit