Define PNG_ZLIB_VERNUM
as 0.
This commit is contained in:
@@ -142,5 +142,6 @@ Example updating libpng files under MSW:
|
|||||||
3) in libpng root dir run:
|
3) in libpng root dir run:
|
||||||
mingw32-make png.lo
|
mingw32-make png.lo
|
||||||
(will generate pnglibconf.h and pngprefix.h, among others)
|
(will generate pnglibconf.h and pngprefix.h, among others)
|
||||||
4) copy files from libpng root dir and scripts subfolder to src/png, updating old files only (other new files were not needed);
|
4) edit pnglibconf.h and change the value of PNG_ZLIB_VERNUM to 0.
|
||||||
5) commit the changes.
|
5) copy files from libpng root dir and scripts subfolder to src/png, updating old files only (other new files were not needed);
|
||||||
|
6) commit the changes.
|
||||||
|
@@ -204,7 +204,7 @@
|
|||||||
#define PNG_USER_HEIGHT_MAX 1000000
|
#define PNG_USER_HEIGHT_MAX 1000000
|
||||||
#define PNG_USER_WIDTH_MAX 1000000
|
#define PNG_USER_WIDTH_MAX 1000000
|
||||||
#define PNG_ZBUF_SIZE 8192
|
#define PNG_ZBUF_SIZE 8192
|
||||||
#define PNG_ZLIB_VERNUM 0x12a0
|
#define PNG_ZLIB_VERNUM 0
|
||||||
#define PNG_Z_DEFAULT_COMPRESSION (-1)
|
#define PNG_Z_DEFAULT_COMPRESSION (-1)
|
||||||
#define PNG_Z_DEFAULT_NOFILTER_STRATEGY 0
|
#define PNG_Z_DEFAULT_NOFILTER_STRATEGY 0
|
||||||
#define PNG_Z_DEFAULT_STRATEGY 1
|
#define PNG_Z_DEFAULT_STRATEGY 1
|
||||||
|
Reference in New Issue
Block a user