diff --git a/ANNOUNCE b/ANNOUNCE index 8dc0ccc96..22663a8d5 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,5 +1,5 @@ -Libpng 1.4.17beta02 - August 21, 2015 +Libpng 1.4.17beta02 - October 15, 2015 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. @@ -49,8 +49,9 @@ version 1.4.17beta01 [August 19, 2015] in ANSI-C (unlike 0x80000000 in the signed case) the checking that occurs later can catch them (John Bowler). -version 1.4.17beta02 [August 21, 2015] +version 1.4.17beta02 [October 15, 2015] Fixed png_save_int_32 when int is not 2's complement (John Bowler). + Added sPLT support to pngtest.c Send comments/corrections/commendations to glennrp at users.sourceforge.net or to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index bcfe3f9c2..11526a00f 100644 --- a/CHANGES +++ b/CHANGES @@ -2979,8 +2979,9 @@ version 1.4.17beta01 [August 19, 2015] in ANSI-C (unlike 0x80000000 in the signed case) the checking that occurs later can catch them (John Bowler). -version 1.4.17beta02 [August 21, 2015] +version 1.4.17beta02 [October 15, 2015] Fixed png_save_int_32 when int is not 2's complement (John Bowler). + Added sPLT support to pngtest.c Send comments/corrections/commendations to glennrp at users.sourceforge.net or to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/pngtest.c b/pngtest.c index da9814619..da9e1cb03 100644 --- a/pngtest.c +++ b/pngtest.c @@ -1,7 +1,7 @@ /* pngtest.c - a simple test program to test libpng * - * Last changed in libpng 1.4.17 [August 19, 2015] + * Last changed in libpng 1.4.17 [October 15, 2015] * Copyright (c) 1998-2015 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) @@ -1095,6 +1095,19 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname) #endif #endif #endif + +#ifdef PNG_sPLT_SUPPORTED + { + png_sPLT_tp entries; + + int num_entries = (int) png_get_sPLT(read_ptr, read_info_ptr, &entries); + if (num_entries) + { + png_set_sPLT(write_ptr, write_info_ptr, entries, num_entries); + } + } +#endif /* sPLT */ + #ifdef PNG_TEXT_SUPPORTED { png_textp text_ptr;