Imported from libpng-1.2.14beta1.tar

This commit is contained in:
Glenn Randers-Pehrson
2006-11-16 20:51:41 -06:00
parent efe95a6953
commit b5bfcbae59
46 changed files with 4653 additions and 4376 deletions

6
png.c
View File

@@ -13,7 +13,7 @@
#include "png.h"
/* Generate a compiler error if there is an old png.h in the search path. */
typedef version_1_2_13 Your_png_h_is_not_version_1_2_13;
typedef version_1_2_14beta1 Your_png_h_is_not_version_1_2_14beta1;
/* Version information for C files. This had better match the version
* string defined in png.h. */
@@ -267,8 +267,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)
@@ -701,7 +701,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.2.13 - November 15, 2006\n\
return ((png_charp) "\n libpng version 1.2.14beta1 - 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");