[libpng10] Imported from libpng-1.0.51rc01.tar

This commit is contained in:
Glenn Randers-Pehrson
2009-11-18 09:55:59 -06:00
parent afbb32433c
commit 270a623b90
96 changed files with 3532 additions and 2442 deletions

View File

@@ -93,7 +93,7 @@ int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeight)
* have used slightly more general png_sig_cmp() function instead */
fread(sig, 1, 8, infile);
if (!png_check_sig(sig, 8))
if (png_sig_cmp(sig, 0, 8))
return 1; /* bad signature */