mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Imported from libpng-1.0.4e.tar
This commit is contained in:
10
png.c
10
png.c
@@ -1,7 +1,7 @@
|
||||
|
||||
/* png.c - location for general purpose libpng functions
|
||||
*
|
||||
* libpng version 1.0.4d - October 6, 1999
|
||||
* libpng version 1.0.4e - October 10, 1999
|
||||
* Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.
|
||||
* Copyright (c) 1996, 1997 Andreas Dilger
|
||||
* Copyright (c) 1998, 1999 Glenn Randers-Pehrson
|
||||
@@ -16,7 +16,7 @@
|
||||
* string defined in png.h.
|
||||
*/
|
||||
|
||||
char png_libpng_ver[12] = "1.0.4d";
|
||||
char png_libpng_ver[12] = "1.0.4e";
|
||||
|
||||
/* Place to hold the signature string for a PNG file. */
|
||||
png_byte FARDATA png_sig[8] = {137, 80, 78, 71, 13, 10, 26, 10};
|
||||
@@ -352,7 +352,7 @@ png_get_copyright(png_structp png_ptr)
|
||||
{
|
||||
if(png_ptr == NULL)
|
||||
/* silence compiler warning about unused png_ptr */ ;
|
||||
return("\n libpng version 1.0.4d - October 6, 1999\n\
|
||||
return("\n libpng version 1.0.4e - October 10, 1999\n\
|
||||
Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.\n\
|
||||
Copyright (c) 1996, 1997 Andreas Dilger\n\
|
||||
Copyright (c) 1998, 1999 Glenn Randers-Pehrson\n");
|
||||
@@ -361,8 +361,8 @@ png_get_copyright(png_structp png_ptr)
|
||||
/* Generate a compiler error if there is an old png.h in the search path. */
|
||||
void
|
||||
png_check_version
|
||||
(version_1_0_4d png_h_is_not_version_1_0_4d)
|
||||
(version_1_0_4e png_h_is_not_version_1_0_4e)
|
||||
{
|
||||
if(png_h_is_not_version_1_0_4d == NULL)
|
||||
if(png_h_is_not_version_1_0_4e == NULL)
|
||||
/* silence compiler warning about unused parameter */ ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user