[libpng17] Added public domain declaration to contrib/libtests/fakepng.c

This commit is contained in:
Glenn Randers-Pehrson
2015-09-15 15:21:12 -05:00
parent ec99b373dd
commit cc7fa5e23f
2 changed files with 18 additions and 8 deletions

View File

@@ -1,4 +1,12 @@
/* Fake a PNG - just write it out directly. */
*
* COPYRIGHT: Written by John Cunningham Bowler, 2014.
* To the extent possible under law, the author has waived all copyright and
* related or neighboring rights to this work. This work is published from:
* United States.
*
*/
#include <stdio.h>
#include <zlib.h> /* for crc32 */
@@ -52,6 +60,6 @@ main(void)
fwrite(signature, sizeof signature, 1, stdout);
put_chunk(IHDR, sizeof IHDR);
for(;;)
for (;;)
put_chunk(unknown, sizeof unknown);
}