diff options
author | John Bowler <jbowler@acm.org> | 2012-03-05 21:26:57 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2012-03-05 21:26:57 -0600 |
commit | 6225b0e61ed3341236d6553fae9e139b4de3ab30 (patch) | |
tree | 809151e9677af751737e0857af2c96f4ab35d964 /pngpriv.h | |
parent | d072048925d24b139afc90b37c86b46220969422 (diff) | |
download | libpng-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |