[master] Imported from libpng-1.6.14.tar

This commit is contained in:
Glenn Randers-Pehrson
2014-10-22 19:28:06 -05:00
parent d55c4f32fc
commit eed640dbe8
45 changed files with 429 additions and 409 deletions

View File

@@ -52,6 +52,6 @@ main(void)
fwrite(signature, sizeof signature, 1, stdout);
put_chunk(IHDR, sizeof IHDR);
for(;;)
for (;;)
put_chunk(unknown, sizeof unknown);
}

View File

@@ -1,7 +1,7 @@
/* pngvalid.c - validate libpng by constructing then reading png files.
*
* Last changed in libpng 1.6.10 [March 6, 2014]
* Last changed in libpng 1.6.14 [October 23, 2014]
* Copyright (c) 2014 Glenn Randers-Pehrson
* Written by John Cunningham Bowler
*
@@ -34,6 +34,16 @@
# include <fenv.h>
#endif
#ifndef FE_DIVBYZERO
# define FE_DIVBYZERO 0
#endif
#ifndef FE_INVALID
# define FE_INVALID 0
#endif
#ifndef FE_OVERFLOW
# define FE_OVERFLOW 0
#endif
/* Define the following to use this test against your installed libpng, rather
* than the one being built here:
*/
@@ -686,7 +696,7 @@ static png_uint_32
random_32(void)
{
for(;;)
for (;;)
{
png_byte mark[4];
png_uint_32 result;