Imported from libpng-1.4.0beta14.tar

This commit is contained in:
Glenn Randers-Pehrson
2006-11-14 10:53:30 -06:00
parent 3779c69674
commit 6b12c08bfc
56 changed files with 1112 additions and 130 deletions

View File

@@ -1253,6 +1253,7 @@ png_set_user_limits (png_structp png_ptr, png_uint_32 user_width_max,
* rejected by png_set_IHDR(). To accept any PNG datastream
* regardless of dimensions, set both limits to 0x7ffffffL.
*/
if(png_ptr == NULL) return;
png_ptr->user_width_max = user_width_max;
png_ptr->user_height_max = user_height_max;
}