mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Restore definition of TOO_FAR in deflate.c
This commit is contained in:
parent
fbcf0b5889
commit
930d1b7ea6
@@ -1,5 +1,10 @@
|
|||||||
Change log:
|
Change log:
|
||||||
|
|
||||||
|
Version 1.6.17 (built with libpng-1.2.35 and zlib-1.2.3.2)
|
||||||
|
Defined TOO_FAR == 32767 in deflate.c (again). The definition
|
||||||
|
has continually been inadvertently omitted during zlib updates
|
||||||
|
since pngcrush version 1.6.4.
|
||||||
|
|
||||||
Version 1.6.16 (built with libpng-1.2.35 and zlib-1.2.3.2)
|
Version 1.6.16 (built with libpng-1.2.35 and zlib-1.2.3.2)
|
||||||
Added -newtimestamp and -oldtimestamp options and changed
|
Added -newtimestamp and -oldtimestamp options and changed
|
||||||
default condition to timestamping the output file with
|
default condition to timestamping the output file with
|
||||||
|
|||||||
@@ -105,6 +105,11 @@ local void check_match OF((deflate_state *s, IPos start, IPos match,
|
|||||||
#define NIL 0
|
#define NIL 0
|
||||||
/* Tail of hash chains */
|
/* Tail of hash chains */
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef TOO_FAR
|
||||||
|
#define TOO_FAR 32767 /* pngcrush mod */
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef TOO_FAR
|
#ifndef TOO_FAR
|
||||||
# define TOO_FAR 4096
|
# define TOO_FAR 4096
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user