Imported from libpng-1.2.20.tar

This commit is contained in:
Glenn Randers-Pehrson
2007-09-07 22:23:17 -05:00
parent 79e28a4c2e
commit 22eaa89c5a
49 changed files with 127 additions and 147 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_20rc6 Your_png_h_is_not_version_1_2_20rc6;
typedef version_1_2_20 Your_png_h_is_not_version_1_2_20;
/* Version information for C files. This had better match the version
* string defined in png.h. */
@@ -693,7 +693,7 @@ png_charp PNGAPI
png_get_copyright(png_structp png_ptr)
{
png_ptr = png_ptr; /* silence compiler warning about unused png_ptr */
return ((png_charp) "\n libpng version 1.2.20rc6 - September 3, 2007\n\
return ((png_charp) "\n libpng version 1.2.20 - September 8, 2007\n\
Copyright (c) 1998-2007 Glenn Randers-Pehrson\n\
Copyright (c) 1996-1997 Andreas Dilger\n\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.\n");
@@ -729,7 +729,7 @@ png_get_header_version(png_structp png_ptr)
/* Returns longer string containing both version and date */
png_ptr = png_ptr; /* silence compiler warning about unused png_ptr */
return ((png_charp) PNG_HEADER_VERSION_STRING
#ifdef PNG_READ_SUPPORTED
#ifndef PNG_READ_SUPPORTED
" (NO READ SUPPORT)"
#endif
"\n");