Imported from libpng-1.0.9beta3.tar

This commit is contained in:
Glenn Randers-Pehrson
2000-11-23 11:51:42 -06:00
parent f5ed0e130c
commit d56aca7104
60 changed files with 369 additions and 190 deletions

View File

@@ -1,7 +1,7 @@
/* pngread.c - read a PNG file
*
* libpng 1.0.9beta2 - November 19, 2000
* libpng 1.0.9beta3 - November 23, 2000
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998, 1999, 2000 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@@ -103,7 +103,7 @@ png_create_read_struct_2(png_const_charp user_png_ver, png_voidp error_ptr,
removed from version 2.0.0 and beyond because the previous test
would have already rejected it. */
if (user_png_ver[4] == '6' && user_png_ver[2] == '0' &&
if (user_png_ver[4] == '6' && user_png_ver[2] == '0' &&
user_png_ver[0] == '1' && user_png_ver[5] == '\0')
{
png_error(png_ptr,
@@ -701,7 +701,7 @@ png_read_row(png_structp png_ptr, png_bytep row, png_bytep dsp_row)
* not called png_set_interlace_handling(), the display_row buffer will
* be ignored, so pass NULL to it.
*
* [*] png_handle_alpha() does not exist yet, as of libpng version 1.0.9beta2
* [*] png_handle_alpha() does not exist yet, as of libpng version 1.0.9beta3
*/
void PNGAPI
@@ -750,7 +750,7 @@ png_read_rows(png_structp png_ptr, png_bytepp row,
* only call this function once. If you desire to have an image for
* each pass of a interlaced image, use png_read_rows() instead.
*
* [*] png_handle_alpha() does not exist yet, as of libpng version 1.0.9beta2
* [*] png_handle_alpha() does not exist yet, as of libpng version 1.0.9beta3
*/
void PNGAPI
png_read_image(png_structp png_ptr, png_bytepp image)