summaryrefslogtreecommitdiff
path: root/pngpriv.h
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2012-03-05 21:26:57 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2012-03-05 21:26:57 -0600
commit6225b0e61ed3341236d6553fae9e139b4de3ab30 (patch)
tree809151e9677af751737e0857af2c96f4ab35d964 /pngpriv.h
parentd072048925d24b139afc90b37c86b46220969422 (diff)
downloadlibpng-6225b0e61ed3341236d6553fae9e139b4de3ab30.tar.gz
[libpng16] Added code to validate the windowBits value passed to deflateInit2().
If the call to deflateInit2() is wrong a png_warning will be issued (in fact this is harmless, but the PNG data produced may be sub-optimal).
Diffstat (limited to 'pngpriv.h')
-rw-r--r--pngpriv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pngpriv.h b/pngpriv.h
index c9d69bfab..3e351f3a6 100644
--- a/pngpriv.h
+++ b/pngpriv.h
@@ -513,7 +513,7 @@ typedef const png_uint_16p * png_const_uint_16pp;
#define PNG_FLAG_ZSTREAM_INITIALIZED 0x0002 /* Added to libpng-1.6.0 */
#define PNG_FLAG_ZSTREAM_IN_USE 0x0004 /* Added to libpng-1.6.0 */
#define PNG_FLAG_ZSTREAM_ENDED 0x0008 /* Added to libpng-1.6.0 */
- /* 0x0010 unused */
+#define PNG_FLAG_ZSTREAM_CMF_FIXUP 0x0010 /* Added to libpng-1.6.0 */
/* 0x0020 unused */
#define PNG_FLAG_ROW_INIT 0x0040
#define PNG_FLAG_FILLER_AFTER 0x0080