From 8187ba1518e6b2d319eb36140e1092e32fa180cb Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 26 Dec 2016 18:15:02 -0600 Subject: [PATCH] [libpng16] PNG_IGNORE_ALDLER32_SUPPORTED -> PNG_IGNORE_ADLER32 in pngtest.c --- pngrutil.c | 4 +--- pngtest.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pngrutil.c b/pngrutil.c index 9313e4ba2..c34da5d4c 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -4108,9 +4108,7 @@ png_read_IDAT_data(png_structrp png_ptr, png_bytep output, png_zstream_error(png_ptr, ret); if (output != NULL) - { - png_chunk_error(png_ptr, png_ptr->zstream.msg); - } + png_chunk_error(png_ptr, png_ptr->zstream.msg); else /* checking */ { diff --git a/pngtest.c b/pngtest.c index eaf279807..5460c8de3 100644 --- a/pngtest.c +++ b/pngtest.c @@ -989,7 +989,7 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname) /* Turn off CRC checking while reading */ png_set_crc_action(read_ptr, PNG_CRC_QUIET_USE, PNG_CRC_QUIET_USE); -#ifdef PNG_IGNORE_ADLER32_SUPPORTED +#ifdef PNG_IGNORE_ADLER32 /* Turn off ADLER32 checking while reading */ png_set_option(read_ptr, PNG_IGNORE_ADLER32, PNG_OPTION_ON); #endif