mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Changed pngvalid.c to support libpng 1.5, which does not support
the PNG_MAXIMUM_INFLATE_WINDOW option, so #define it out when appropriate in pngvalid.c
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
114fa16ab3
commit
206d1eed42
3
ANNOUNCE
3
ANNOUNCE
@@ -477,6 +477,9 @@ Version 1.7.0beta26 [December 29, 2013]
|
|||||||
Fixed test programs for interlace options. Made pngvalid.c and
|
Fixed test programs for interlace options. Made pngvalid.c and
|
||||||
pngtest.c work correctly when READ_INTERLACING and/or WRITE_INTERLACING
|
pngtest.c work correctly when READ_INTERLACING and/or WRITE_INTERLACING
|
||||||
are switched off.
|
are switched off.
|
||||||
|
Changed pngvalid.c to support libpng 1.5, which does not support
|
||||||
|
the PNG_MAXIMUM_INFLATE_WINDOW option, so #define it out when
|
||||||
|
appropriate in pngvalid.c
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
3
CHANGES
3
CHANGES
@@ -4766,6 +4766,9 @@ Version 1.7.0beta26 [December 29, 2013]
|
|||||||
Fixed test programs for interlace options. Made pngvalid.c and
|
Fixed test programs for interlace options. Made pngvalid.c and
|
||||||
pngtest.c work correctly when READ_INTERLACING and/or WRITE_INTERLACING
|
pngtest.c work correctly when READ_INTERLACING and/or WRITE_INTERLACING
|
||||||
are switched off.
|
are switched off.
|
||||||
|
Changed pngvalid.c to support libpng 1.5, which does not support
|
||||||
|
the PNG_MAXIMUM_INFLATE_WINDOW option, so #define it out when
|
||||||
|
appropriate in pngvalid.c
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
@@ -10339,10 +10339,12 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef PNG_MAXIMUM_INFLATE_WINDOW
|
||||||
if (strncmp(arg, "max-inflate-window:", 19) == 0)
|
if (strncmp(arg, "max-inflate-window:", 19) == 0)
|
||||||
option = PNG_MAXIMUM_INFLATE_WINDOW, arg += 19;
|
option = PNG_MAXIMUM_INFLATE_WINDOW, arg += 19;
|
||||||
|
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
fprintf(stderr, "pngvalid: %s: %s: unknown option\n", *argv, arg);
|
fprintf(stderr, "pngvalid: %s: %s: unknown option\n", *argv, arg);
|
||||||
exit(99);
|
exit(99);
|
||||||
|
|||||||
Reference in New Issue
Block a user