[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

@@ -1062,7 +1062,7 @@ png_get_tRNS(png_const_structrp png_ptr, png_inforp info_ptr,
}
#endif
#ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED
#ifdef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
int PNGAPI
png_get_unknown_chunks(png_const_structrp png_ptr, png_const_inforp info_ptr,
png_unknown_chunkpp unknowns)