From 323c8655cfc70eee38b38ccf2244fb88171808ea Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 31 Jul 2017 15:23:06 -0500 Subject: [PATCH] [libpng16] Updated pngread.c with calls to png_handle_eXIf() omitted from previous checkin --- pngread.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pngread.c b/pngread.c index 331ce121c..4d26fd164 100644 --- a/pngread.c +++ b/pngread.c @@ -175,6 +175,11 @@ png_read_info(png_structrp png_ptr, png_inforp info_ptr) png_handle_cHRM(png_ptr, info_ptr, length); #endif +#ifdef PNG_READ_eXIf_SUPPORTED + else if (chunk_name == png_eXIf) + png_handle_eXIf(png_ptr, info_ptr, length); +#endif + #ifdef PNG_READ_gAMA_SUPPORTED else if (chunk_name == png_gAMA) png_handle_gAMA(png_ptr, info_ptr, length); @@ -842,6 +847,11 @@ png_read_end(png_structrp png_ptr, png_inforp info_ptr) png_handle_cHRM(png_ptr, info_ptr, length); #endif +#ifdef PNG_READ_eXIf_SUPPORTED + else if (chunk_name == png_eXIf) + png_handle_eXIf(png_ptr, info_ptr, length); +#endif + #ifdef PNG_READ_gAMA_SUPPORTED else if (chunk_name == png_gAMA) png_handle_gAMA(png_ptr, info_ptr, length);