Imported from libpng-1.2.5rc2.tar

This commit is contained in:
Glenn Randers-Pehrson
2002-09-15 20:30:38 -05:00
parent 51d9250c88
commit 865f4f073a
62 changed files with 157 additions and 143 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);