commit | ec89aefb448a39e41deddd0d174eab65f928749b | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Sat Mar 02 21:39:44 2013 -0600 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sat Mar 02 21:39:44 2013 -0600 |
tree | cbdcaf021f1180f2f90b36147a82ded08ec029b6 | |
parent | 6152dbd424cd76980def61319cd25e51454c9902 [diff] |
[libpng17] Changed user chunk callback API to respect global and per chunk defaults. Previously a return of 0 from a user chunk callback would result in the chunk being saved (if this was safe, even if the chunk was unsafe-to-copy); this change respects the defaults set by the application, so unknown chunks can be discarded by default and known-safe ones preserved.