mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Conditionally compile png_set_benign_errors() in pngread.c
This commit is contained in:
parent
07e2cf117f
commit
6f39846891
5
ANNOUNCE
5
ANNOUNCE
@ -1,5 +1,5 @@
|
||||
|
||||
Libpng 1.7.0beta84 - September 1, 2016
|
||||
Libpng 1.7.0beta84 - September 12, 2016
|
||||
|
||||
This is not intended to be a public release. It will be replaced
|
||||
within a few weeks by a public version or by another test version.
|
||||
@ -1396,11 +1396,12 @@ Version 1.7.0beta83 [July 23, 2016]
|
||||
in reading.
|
||||
Fixed debug test of output gamma.
|
||||
|
||||
Version 1.7.0beta84 [September 1, 2016]
|
||||
Version 1.7.0beta84 [September 12, 2016]
|
||||
Minor editing of INSTALL, (whitespace, added copyright line)
|
||||
Don't install pngcp; it conflicts with pngcp in the pngtools package.
|
||||
Fixed handling zero length IDAT in pngfix (bug report by Agostino Sarubbo,
|
||||
bugfix by John Bowler).
|
||||
Conditionally compile png_set_benign_errors() in pngread.c
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
3
CHANGES
3
CHANGES
@ -5696,11 +5696,12 @@ Version 1.7.0beta83 [July 23, 2016]
|
||||
in reading.
|
||||
Fixed debug test of output gamma.
|
||||
|
||||
Version 1.7.0beta84 [September 1, 2016]
|
||||
Version 1.7.0beta84 [September 12, 2016]
|
||||
Minor editing of INSTALL, (whitespace, added copyright line)
|
||||
Don't install pngcp; it conflicts with pngcp in the pngtools package.
|
||||
Fixed handling zero length IDAT in pngfix (bug report by Agostino Sarubbo,
|
||||
bugfix by John Bowler).
|
||||
Conditionally compile png_set_benign_errors() in pngread.c
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
@ -1131,7 +1131,9 @@ png_image_read_header(png_voidp argument)
|
||||
png_structrp png_ptr = image->opaque->png_ptr;
|
||||
png_inforp info_ptr = image->opaque->info_ptr;
|
||||
|
||||
#ifdef PNG_BENIGN_ERRORS_SUPPORTED
|
||||
png_set_benign_errors(png_ptr, 1/*warn*/);
|
||||
#endif
|
||||
png_read_info(png_ptr, info_ptr);
|
||||
|
||||
/* Do this the fast way; just read directly out of png_struct. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user