[devel] Imported from libpng-1.4.0beta66.tar

This commit is contained in:
Glenn Randers-Pehrson
2009-06-26 21:46:52 -05:00
parent c332bbcd34
commit bfbf86558c
90 changed files with 218 additions and 210 deletions

10
png.c
View File

@@ -1,12 +1,12 @@
/* png.c - location for general purpose libpng functions
*
* Last changed in libpng 1.4.0 [June 25, 2009]
* Last changed in libpng 1.4.0 [June 27, 2009]
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* This code is released under the zlib/libpng license.
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
* and license in png.h
*/
@@ -16,7 +16,7 @@
#include "pngpriv.h"
/* Generate a compiler error if there is an old png.h in the search path. */
typedef version_1_4_0beta65 Your_png_h_is_not_version_1_4_0beta65;
typedef version_1_4_0beta66 Your_png_h_is_not_version_1_4_0beta66;
/* Version information for C files. This had better match the version
* string defined in png.h. */
@@ -652,13 +652,13 @@ png_get_copyright(png_structp png_ptr)
#else
#ifdef __STDC__
return ((png_charp) PNG_STRING_NEWLINE \
"libpng version x 1.4.0beta65 - June 25, 2009" PNG_STRING_NEWLINE \
"libpng version x 1.4.0beta66 - June 27, 2009" PNG_STRING_NEWLINE \
"Copyright (c) 1998-2009 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
PNG_STRING_NEWLINE);
#else
return ((png_charp) "libpng version 1.4.0beta65 - June 25, 2009\
return ((png_charp) "libpng version 1.4.0beta66 - June 27, 2009\
Copyright (c) 1998-2009 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.");