[libpng17]Rearranged png_struct, remove unused members, change png_set_filter

handling png_struct members rearranged - partly to reorder to avoid packing,
partly to put frequently accessed members at the start and partly to make
the grouping more clear. png_set_filter code has been rewritten and the
code shared with png_write_start_row moved to a common function.  Comments
in png.h have been made more clear. Minor fixes to
contrib/libtests/timepng.c and some of the png_*_tRNS logic, including
more error detection in png_set_tRNS.
This commit is contained in:
John Bowler
2012-12-14 22:31:50 -06:00
committed by Glenn Randers-Pehrson
parent 3e42c81193
commit 240ac287eb
11 changed files with 49 additions and 31 deletions

View File

@@ -286,9 +286,9 @@ option IO_STATE
# read:
# Added at libpng-1.2.43; adds limit fields to png_struct,
# allows some usages of these fields
# allows some usages of these fields, from 1.7.0 only limits read
option USER_LIMITS
option USER_LIMITS requires READ
# Added at libpng-1.2.6; adds setting APIs, allows additional
# usage of this field (UTSL)