[libpng16] Use png_get_libpng_ver(NULL), not PNG_LIBPNG_VER_STRING

This commit is contained in:
Glenn Randers-Pehrson
2014-11-04 23:33:46 -06:00
parent 5efb1327df
commit f1b547a509
21 changed files with 56 additions and 50 deletions

View File

@@ -37,7 +37,7 @@
static int read_png(FILE *fp)
{
png_structp png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING,0,0,0);
png_structp png_ptr = png_create_read_struct(png_get_libpng_ver(NULL),0,0,0);
png_infop info_ptr = NULL;
png_bytep row = NULL, display = NULL;