commit | f5f1206778d29384636faed21455d0fe51c19a0a | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Tue Jul 02 23:17:30 2013 -0500 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Tue Jul 02 23:18:49 2013 -0500 |
tree | 0a139e709a65bc7e1946b695868cf0578aa474bf | |
parent | 497e7319f4ecf127f786551026090ece2f752b7c [diff] |
[libpng16] Fixed undefined behavior in contrib/tools/pngfix.c and added new strip option. pngfix relied on undefined behavior and even a simple change from gcc to g++ caused it to fail. The new strip option 'unsafe' has been implemented and is the default if --max is given. Option names have been clarified, with --strip=transform now stripping the bKGD chunk, which was stripped previously with --strip=unused. Added all documented chunk types to pngpriv.h