diff --git a/ANNOUNCE b/ANNOUNCE index a2529d532..0fd310588 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,5 +1,5 @@ -Libpng 1.4.5rc01 - November 19, 2010 +Libpng 1.4.5rc02 - November 20, 2010 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. @@ -9,20 +9,20 @@ Files available for download: Source files with LF line endings (for Unix/Linux) and with a "configure" script - 1.4.5rc01.tar.xz (LZMA-compressed, recommended) - 1.4.5rc01.tar.gz - 1.4.5rc01.tar.bz2 + 1.4.5rc02.tar.xz (LZMA-compressed, recommended) + 1.4.5rc02.tar.gz + 1.4.5rc02.tar.bz2 Source files with CRLF line endings (for Windows), without the "configure" script - lp145r01.zip - lp145r01.7z + lp145r02.zip + lp145r02.7z Other information: - 1.4.5rc01-README.txt - 1.4.5rc01-LICENSE.txt + 1.4.5rc02-README.txt + 1.4.5rc02-LICENSE.txt Changes since the last public release (1.4.4): @@ -46,6 +46,10 @@ version 1.4.5beta04 [November 8, 2010] version 1.4.5rc01 [November 19, 2010] No changes. +version 1.4.5rc02 [November 20, 2010] + Removed some extraneous parentheses that appeared in pngrutil.c of + libpng-1.4.3bet01 + Send comments/corrections/commendations to glennrp at users.sourceforge.net or to png-mng-implement at lists.sf.net (subscription required; visit https://lists.sourceforge.net/lists/listinfo/png-mng-implement). diff --git a/CHANGES b/CHANGES index 534b88a52..a3168ed60 100644 --- a/CHANGES +++ b/CHANGES @@ -2700,10 +2700,15 @@ version 1.4.5beta04 [November 8, 2010] version 1.4.5rc01 [November 19, 2010] No changes. -Send comments/corrections/commendations to glennrp at users.sourceforge.net -or to png-mng-implement at lists.sf.net (subscription required; visit -https://lists.sourceforge.net/lists/listinfo/png-mng-implement). +version 1.4.5rc02 [November 20, 2010] + Removed some extraneous parentheses that appeared in pngrutil.c of + libpng-1.4.3bet01 + +version 1.4.4-optipng [November 14, 2010] + Fixed atomicity of chunk header serialization (Cosmin) + Added test for io_state in pngtest.c (Cosmin) + Moved reading of file signature into png_read_sig (Cosmin) + Revised png_get_uint_32, png_get_int_32, png_get_uint_16 (Cosmin) -Glenn R-P */ } #endif diff --git a/pngrutil.c b/pngrutil.c index 11e412b72..dd0a6536f 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -1,7 +1,7 @@ /* pngrutil.c - utilities to read a PNG file * - * Last changed in libpng 1.4.4 [August 26, 2010] + * Last changed in libpng 1.4.5 [November 20, 2010] * Copyright (c) 1998-2010 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.) @@ -47,8 +47,8 @@ png_get_uint_32)(png_bytep buf) * is no guarantee that a 'png_int_32' is exactly 32 bits, therefore * the following code does a two's complement to native conversion. */ -png_int_32 (PNGAPI -png_get_int_32)(png_bytep buf) +png_int_32 PNGAPI +png_get_int_32 (png_bytep buf) { png_uint_32 u = png_get_uint_32(buf); if ((u & 0x80000000) == 0) /* non-negative */ @@ -59,8 +59,8 @@ png_get_int_32)(png_bytep buf) } /* Grab an unsigned 16-bit integer from a buffer in big-endian format. */ -png_uint_16 (PNGAPI -png_get_uint_16)(png_bytep buf) +png_uint_16 PNGAPI +png_get_uint_16 (png_bytep buf) { png_uint_16 i = ((png_uint_32)(*buf) << 8) +