diff options
author | Patrick Scott <phanna@android.com> | 2009-07-22 11:50:02 -0400 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2009-07-22 11:51:29 -0400 |
commit | a0bb96c34e65378853ee518bac502842d26c2d1a (patch) | |
tree | e5a1a570c92e2ef58a0d96cd3dfefbab796fb37e /contrib/pngminim/encoder/pngusr.h | |
parent | 4215dd1533c56e1a89ae6f1d6ea68677fac27fda (diff) | |
download | external_libpng-a0bb96c34e65378853ee518bac502842d26c2d1a.zip external_libpng-a0bb96c34e65378853ee518bac502842d26c2d1a.tar.gz external_libpng-a0bb96c34e65378853ee518bac502842d26c2d1a.tar.bz2 |
Update libpng to 1.2.38 to patch a minor security issue.
Diffstat (limited to 'contrib/pngminim/encoder/pngusr.h')
-rw-r--r-- | contrib/pngminim/encoder/pngusr.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/contrib/pngminim/encoder/pngusr.h b/contrib/pngminim/encoder/pngusr.h index 904673a..9f58c98 100644 --- a/contrib/pngminim/encoder/pngusr.h +++ b/contrib/pngminim/encoder/pngusr.h @@ -1,6 +1,11 @@ /* minwrpngconf.h: headers to make a minimal png-write-only library - * For conditions of distribution and use, see copyright notice in png.h - * Copyright (c) 2007 Glenn Randers-Pehrson + * + * Copyright (c) 2007, 2009 Glenn Randers-Pehrson + * + * This code is released under the zlib/libpng license. + * For conditions of distribution and use, see the disclaimer + * and license in png.h + * * Derived from pngcrush.h, Copyright 1998-2007, Glenn Randers-Pehrson */ @@ -26,6 +31,7 @@ #define PNG_NO_WRITE_PACK #define PNG_NO_WRITE_PACKSWAP #define PNG_NO_WRITE_FILLER +#define PNG_NO_WRITE_SWAP #define PNG_NO_WRITE_SWAP_ALPHA #define PNG_NO_WRITE_INVERT_ALPHA #define PNG_NO_WRITE_RGB_TO_GRAY @@ -33,7 +39,6 @@ #define PNG_NO_WRITE_bKGD #define PNG_NO_WRITE_cHRM #define PNG_NO_WRITE_gAMA -#define PNG_NO_WRITE_sRGB #define PNG_NO_WRITE_hIST #define PNG_NO_WRITE_iCCP #define PNG_NO_WRITE_oFFs @@ -42,6 +47,7 @@ #define PNG_NO_WRITE_sBIT #define PNG_NO_WRITE_sCAL #define PNG_NO_WRITE_sPLT +#define PNG_NO_WRITE_sRGB #define PNG_NO_WRITE_TEXT #define PNG_NO_WRITE_tIME #define PNG_NO_WRITE_UNKNOWN_CHUNKS @@ -51,6 +57,7 @@ #define PNG_NO_WRITE_FILTER #define PNG_NO_WRITE_WEIGHTED_FILTER #define PNG_NO_WRITE_INTERLACING_SUPPORTED +#define PNG_NO_WRITE_FLUSH #define PNG_NO_INFO_IMAGE #define PNG_NO_USER_MEM |