[libpng10] Imported from libpng-1.0.15rc2.tar

This commit is contained in:
Glenn Randers-Pehrson
2002-09-15 20:26:19 -05:00
parent 88f07c8451
commit 0e928a62e9
62 changed files with 153 additions and 164 deletions

View File

@@ -282,7 +282,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
/* This reduces the image to the palette supplied in the file */
else if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette))
{
png_uint_16p histogram;
png_uint_16p histogram = NULL;
png_get_hIST(png_ptr, info_ptr, &histogram);