Imported from libpng-1.4.0beta15.tar

This commit is contained in:
Glenn Randers-Pehrson
2006-11-16 20:35:49 -06:00
parent 6b12c08bfc
commit ae4bd5c2be
46 changed files with 4564 additions and 4288 deletions

6
png.c
View File

@@ -13,7 +13,7 @@
#include "pngpriv.h"
/* Generate a compiler error if there is an old png.h in the search path. */
typedef version_1_4_0beta14 Your_png_h_is_not_version_1_4_0beta14;
typedef version_1_4_0beta15 Your_png_h_is_not_version_1_4_0beta15;
/* Version information for C files. This had better match the version
* string defined in png.h. */
@@ -234,8 +234,8 @@ png_create_info_struct(png_structp png_ptr)
void PNGAPI
png_destroy_info_struct(png_structp png_ptr, png_infopp info_ptr_ptr)
{
if(png_ptr == NULL) return;
png_infop info_ptr = NULL;
if(png_ptr == NULL) return;
png_debug(1, "in png_destroy_info_struct\n");
if (info_ptr_ptr != NULL)
@@ -643,7 +643,7 @@ png_charp PNGAPI
png_get_copyright(png_structp png_ptr)
{
if (&png_ptr != NULL) /* silence compiler warning about unused png_ptr */
return ((png_charp) "\n libpng version 1.4.0beta14 - November 14, 2006\n\
return ((png_charp) "\n libpng version 1.4.0beta15 - November 17, 2006\n\
Copyright (c) 1998-2006 Glenn Randers-Pehrson\n\
Copyright (c) 1996-1997 Andreas Dilger\n\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.\n");