[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

@@ -126,7 +126,7 @@ BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData,
// first check the eight byte PNG signature
fread(pbSig, 1, 8, pfFile);
if (!png_check_sig(pbSig, 8))
if (png_sig_cmp(pbSig, 0, 8))
{
*ppbImageData = pbImageData = NULL;
return FALSE;