[master] Imported from libpng-1.6.15.tar

This commit is contained in:
Glenn Randers-Pehrson
2014-11-20 09:33:25 -06:00
parent eed640dbe8
commit da7a1e79af
63 changed files with 1509 additions and 1215 deletions

View File

@@ -3580,7 +3580,7 @@ read_png(struct control *control)
volatile png_bytep row = NULL, display = NULL;
volatile int rc;
png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, control,
png_ptr = png_create_read_struct(png_get_libpng_ver(NULL), control,
error_handler, warning_handler);
if (png_ptr == NULL)