[libpng17] Changed png_struct->options from png_byte to png_uint_32, to hold

up to 16 2-bit options.
This commit is contained in:
Glenn Randers-Pehrson 2015-12-11 14:53:54 -06:00
parent 69f21bc6eb
commit 2933c2e361
3 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.7.0beta73 - December 9, 2015 Libpng 1.7.0beta73 - December 11, 2015
This is not intended to be a public release. It will be replaced This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version. within a few weeks by a public version or by another test version.
@ -1085,9 +1085,12 @@ Version 1.7.0beta72 [December 7, 2015]
in libpng-1.7.0beta70. This also resulted in PNG data with random in libpng-1.7.0beta70. This also resulted in PNG data with random
row bytes. row bytes.
Version 1.7.0beta73 [December 9, 2015] Version 1.7.0beta73 [December 11, 2015]
Fixed syntax "$(command)" in tests/pngstest that some shells other than Fixed syntax "$(command)" in tests/pngstest that some shells other than
bash could not parse (Bug report by Nelson Beebe). Use `command` instead. bash could not parse (Bug report by Nelson Beebe). Use `command` instead.
Combined some redundant checks on info_ptr==NULL in png_handle_PLTE()
Changed png_struct->options from png_byte to png_uint_32, to hold
up to 16 2-bit options.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -5384,9 +5384,12 @@ Version 1.7.0beta72 [December 7, 2015]
in libpng-1.7.0beta70. This also resulted in PNG data with random in libpng-1.7.0beta70. This also resulted in PNG data with random
row bytes. row bytes.
Version 1.7.0beta73 [December 9, 2015] Version 1.7.0beta73 [December 11, 2015]
Fixed syntax "$(command)" in tests/pngstest that some shells other than Fixed syntax "$(command)" in tests/pngstest that some shells other than
bash could not parse (Bug report by Nelson Beebe). Use `command` instead. bash could not parse (Bug report by Nelson Beebe). Use `command` instead.
Combined some redundant checks on info_ptr==NULL in png_handle_PLTE()
Changed png_struct->options from png_byte to png_uint_32, to hold
up to 16 2-bit options.
(subscription required; visit (subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement https://lists.sourceforge.net/lists/listinfo/png-mng-implement

View File

@ -422,7 +422,7 @@ struct png_struct_def
/* Options */ /* Options */
#ifdef PNG_SET_OPTION_SUPPORTED #ifdef PNG_SET_OPTION_SUPPORTED
png_byte options; /* On/off state (up to 4 options) */ png_uint_32 options; /* On/off state (up to 4 options) */
#endif #endif
#ifdef PNG_READ_SUPPORTED #ifdef PNG_READ_SUPPORTED