diff --git a/ANNOUNCE b/ANNOUNCE index 6f3452f8..850b2bb0 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -42,12 +42,15 @@ Other information: Changes since the last public release (1.2.40): -version 1.2.41beta01 [September 30, 2009] +version 1.2.41beta01 [September 25, 2009] Moved redundant IHDR checking into new png_check_IHDR() in png.c and report all errors found in the IHDR data. Eliminated useless call to png_check_cHRM() from pngset.c Expanded TAB characters in pngrtran.c +version 1.2.41beta02 [September 30, 2009] + Revised png_check_IHDR(). + Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 589407a6..95ce3c3d 100644 --- a/CHANGES +++ b/CHANGES @@ -2472,12 +2472,15 @@ version 1.2.40 and 1.0.49 [September 30, 2009] version 1.0.50 [September 10, 2009] Removed some editing cruft from pngset.c and pngwutil.c. -version 1.2.41beta01 [September 30, 2009] +version 1.2.41beta01 [September 25, 2009] Moved redundant IHDR checking into new png_check_IHDR() in png.c and report all errors found in the IHDR data. Eliminated useless call to png_check_cHRM() from pngset.c Expanded TAB characters in pngrtran.c +version 1.2.41beta02 [September 30, 2009] + Revised png_check_IHDR(). + Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit https://lists.sourceforge.net/lists/listinfo/png-mng-implement diff --git a/pngget.c b/pngget.c index b6d87304..c451104b 100644 --- a/pngget.c +++ b/pngget.c @@ -577,19 +577,6 @@ png_get_IHDR(png_structp png_ptr, png_infop info_ptr, height == NULL || bit_depth == NULL || color_type == NULL) return (0); -#ifdef PNG_DEBUG - /* Test to make sure the user isn't trying to stuff height into - * a 16-bit int (assuming height immediately follows width). - */ - *width = 0; - *height = PNG_UINT_31_MAX; - if (*width != 0) - { - png_warning(png_ptr, - "Application's height variable cannot hold a 32-bit value"); - } -#endif - *width = info_ptr->width; *height = info_ptr->height; *bit_depth = info_ptr->bit_depth;