From 24e485baec55268c7e0309001241f8554f93afbc Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Fri, 18 Sep 2015 23:34:55 -0500 Subject: [PATCH] [libpng15] Improve CHANGES and ANNOUNCE description of filler-byte fix. --- ANNOUNCE | 6 ++++-- CHANGES | 6 ++++-- pngtest.c | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index 33b507a24..b6ec70805 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -45,8 +45,10 @@ Version 1.5.24beta01 [August 19, 2015] Version 1.5.24beta02 [September 19, 2015] Fixed png_save_int_32 when int is not 2's complement (John Bowler). - Fixed byte order in png_set_filler with 16-bit output (previously fixed - in libpng-1.6.17). + Fixed byte order in png_do_read_filler() with 16-bit input (previously + fixed in libpng-1.6.17 and 1.7.0beta46). Previously the high and + low bytes of the filler, from png_set_filler() or from + png_set_add_alpha(), were read in the wrong order. Merged pngvalid.c with version 1.6.19. Send comments/corrections/commendations to png-mng-implement at lists.sf.net diff --git a/CHANGES b/CHANGES index ab1788eeb..f0492555f 100644 --- a/CHANGES +++ b/CHANGES @@ -4391,8 +4391,10 @@ Version 1.5.24beta01 [August 19, 2015] Version 1.5.24beta02 [September 19, 2015] Fixed png_save_int_32 when int is not 2's complement (John Bowler). - Fixed byte order in png_set_filler with 16-bit output (previously fixed - in libpng-1.6.17). + Fixed byte order in png_do_read_filler() with 16-bit input (previously + fixed in libpng-1.6.17 and 1.7.0beta46). Previously the high and + low bytes of the filler, from png_set_filler() or from + png_set_add_alpha(), were read in the wrong order. Merged pngvalid.c with version 1.6.19. Send comments/corrections/commendations to png-mng-implement at lists.sf.net diff --git a/pngtest.c b/pngtest.c index 86875bc2c..7ee566a75 100644 --- a/pngtest.c +++ b/pngtest.c @@ -1056,7 +1056,7 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname) #ifndef PNG_READ_INTERLACING_SUPPORTED /* num_pass will not be set below, set it here if the image is * interlaced: what happens is that write interlacing is *not* turned - * on an the partial interlaced rows are written directly. + * on and the partial interlaced rows are written directly. */ switch (interlace_type) {