Imported from libpng-1.0.12beta1.tar

This commit is contained in:
Glenn Randers-Pehrson
2001-05-14 09:20:53 -05:00
parent 328353990f
commit e68f5a361b
55 changed files with 807 additions and 303 deletions

View File

@@ -1,7 +1,7 @@
/* pngtest.c - a simple test program to test libpng
*
* libpng 1.0.11 - April 27, 2001
* libpng 1.0.12beta1 - May 14, 2001
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2001 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@@ -710,14 +710,14 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname)
# endif
#else
png_set_read_fn(read_ptr, (png_voidp)fpin, pngtest_read_data);
#ifdef PNG_WRITE_SUPPORTED
# ifdef PNG_WRITE_SUPPORTED
png_set_write_fn(write_ptr, (png_voidp)fpout, pngtest_write_data,
#if defined(PNG_WRITE_FLUSH_SUPPORTED)
# if defined(PNG_WRITE_FLUSH_SUPPORTED)
pngtest_flush);
#else
#endif
# else
NULL);
#endif
# endif
# endif
#endif
if(status_dots_requested == 1)
{
@@ -1511,4 +1511,4 @@ main(int argc, char *argv[])
}
/* Generate a compiler error if there is an old png.h in the search path. */
typedef version_1_0_11 your_png_h_is_not_version_1_0_11;
typedef version_1_0_12beta1 your_png_h_is_not_version_1_0_12beta1;