mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Removed dubious "#if INT_MAX" test from png.h that was added to
libpng-1.6.19bet02 (John Bowler).
This commit is contained in:
parent
0c27c8633e
commit
1099cdcb5a
5
ANNOUNCE
5
ANNOUNCE
@ -59,7 +59,10 @@ Version 1.6.22beta03 [February 13, 2016]
|
|||||||
to the LICENSE file, png.h, and the man page.
|
to the LICENSE file, png.h, and the man page.
|
||||||
Restored "& 0xff" in png_save_uint_16() and png_save_uint_32() that
|
Restored "& 0xff" in png_save_uint_16() and png_save_uint_32() that
|
||||||
were accidentally removed from libpng-1.6.17.
|
were accidentally removed from libpng-1.6.17.
|
||||||
Changed PNG_INFO_cHNK from 0xnnnn to 0xnnnnU (Robert C. Seacord).
|
Changed PNG_INFO_cHNK and PNG_FREE_cHNK from 0xnnnn to 0xnnnnU in png.h
|
||||||
|
(Robert C. Seacord).
|
||||||
|
Removed dubious "#if INT_MAX" test from png.h that was added to
|
||||||
|
libpng-1.6.19bet02 (John Bowler).
|
||||||
|
|
||||||
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
|
||||||
|
5
CHANGES
5
CHANGES
@ -5518,7 +5518,10 @@ Version 1.6.22beta03 [February 13, 2016]
|
|||||||
to the LICENSE file, png.h, and the man page.
|
to the LICENSE file, png.h, and the man page.
|
||||||
Restored "& 0xff" in png_save_uint_16() and png_save_uint_32() that
|
Restored "& 0xff" in png_save_uint_16() and png_save_uint_32() that
|
||||||
were accidentally removed from libpng-1.6.17.
|
were accidentally removed from libpng-1.6.17.
|
||||||
Changed PNG_INFO_cHNK from 0xnnnn to 0xnnnnU (Robert C. Seacord).
|
Changed PNG_INFO_cHNK and PNG_FREE_cHNK from 0xnnnn to 0xnnnnU in png.h
|
||||||
|
(Robert C. Seacord).
|
||||||
|
Removed dubious "#if INT_MAX" test from png.h that was added to
|
||||||
|
libpng-1.6.19bet02 (John Bowler).
|
||||||
|
|
||||||
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
|
||||||
|
12
png.h
12
png.h
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/* png.h - header file for PNG reference library
|
/* png.h - header file for PNG reference library
|
||||||
*
|
*
|
||||||
* libpng version 1.6.22beta03, February 10, 2016
|
* libpng version 1.6.22beta03, February 13, 2016
|
||||||
*
|
*
|
||||||
* Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson
|
* Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson
|
||||||
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
||||||
@ -12,7 +12,7 @@
|
|||||||
* Authors and maintainers:
|
* Authors and maintainers:
|
||||||
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
|
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
|
||||||
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
|
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
|
||||||
* libpng versions 0.97, January 1998, through 1.6.22beta03, February 10, 2016:
|
* libpng versions 0.97, January 1998, through 1.6.22beta03, February 13, 2016:
|
||||||
* Glenn Randers-Pehrson.
|
* Glenn Randers-Pehrson.
|
||||||
* See also "Contributing Authors", below.
|
* See also "Contributing Authors", below.
|
||||||
*/
|
*/
|
||||||
@ -25,7 +25,7 @@
|
|||||||
*
|
*
|
||||||
* This code is released under the libpng license.
|
* This code is released under the libpng license.
|
||||||
*
|
*
|
||||||
* libpng versions 1.0.7, July 1, 2000, through 1.6.22beta03, February 10, 2016, are
|
* libpng versions 1.0.7, July 1, 2000, through 1.6.22beta03, February 13, 2016, are
|
||||||
* Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson, are
|
* Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson, are
|
||||||
* derived from libpng-1.0.6, and are distributed according to the same
|
* derived from libpng-1.0.6, and are distributed according to the same
|
||||||
* disclaimer and license as libpng-1.0.6 with the following individuals
|
* disclaimer and license as libpng-1.0.6 with the following individuals
|
||||||
@ -231,7 +231,7 @@
|
|||||||
* Y2K compliance in libpng:
|
* Y2K compliance in libpng:
|
||||||
* =========================
|
* =========================
|
||||||
*
|
*
|
||||||
* February 10, 2016
|
* February 13, 2016
|
||||||
*
|
*
|
||||||
* Since the PNG Development group is an ad-hoc body, we can't make
|
* Since the PNG Development group is an ad-hoc body, we can't make
|
||||||
* an official declaration.
|
* an official declaration.
|
||||||
@ -301,7 +301,7 @@
|
|||||||
/* Version information for png.h - this should match the version in png.c */
|
/* Version information for png.h - this should match the version in png.c */
|
||||||
#define PNG_LIBPNG_VER_STRING "1.6.22beta03"
|
#define PNG_LIBPNG_VER_STRING "1.6.22beta03"
|
||||||
#define PNG_HEADER_VERSION_STRING \
|
#define PNG_HEADER_VERSION_STRING \
|
||||||
" libpng version 1.6.22beta03 - February 10, 2016\n"
|
" libpng version 1.6.22beta03 - February 13, 2016\n"
|
||||||
|
|
||||||
#define PNG_LIBPNG_VER_SONUM 16
|
#define PNG_LIBPNG_VER_SONUM 16
|
||||||
#define PNG_LIBPNG_VER_DLLNUM 16
|
#define PNG_LIBPNG_VER_DLLNUM 16
|
||||||
@ -766,9 +766,7 @@ typedef png_unknown_chunk * * png_unknown_chunkpp;
|
|||||||
#define PNG_INFO_iCCP 0x1000U /* ESR, 1.0.6 */
|
#define PNG_INFO_iCCP 0x1000U /* ESR, 1.0.6 */
|
||||||
#define PNG_INFO_sPLT 0x2000U /* ESR, 1.0.6 */
|
#define PNG_INFO_sPLT 0x2000U /* ESR, 1.0.6 */
|
||||||
#define PNG_INFO_sCAL 0x4000U /* ESR, 1.0.6 */
|
#define PNG_INFO_sCAL 0x4000U /* ESR, 1.0.6 */
|
||||||
#if INT_MAX >= 0x8000 /* else this might break */
|
|
||||||
#define PNG_INFO_IDAT 0x8000U /* ESR, 1.0.6 */
|
#define PNG_INFO_IDAT 0x8000U /* ESR, 1.0.6 */
|
||||||
#endif
|
|
||||||
|
|
||||||
/* This is used for the transformation routines, as some of them
|
/* This is used for the transformation routines, as some of them
|
||||||
* change these values for the row. It also should enable using
|
* change these values for the row. It also should enable using
|
||||||
|
Loading…
x
Reference in New Issue
Block a user