mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[master] Make png_set|get_compression_buffer_size() available even
when PNG_WRITE_SUPPORTED is not enabled. There was no good reason for this restriction, and PNG readers can gain a speed benefit in reading large iCCP chunks by increasing png_ptr->zbuf_size via these functions.
This commit is contained in:
4
png.c
4
png.c
@@ -551,13 +551,13 @@ png_get_copyright(png_structp png_ptr)
|
||||
#else
|
||||
#ifdef __STDC__
|
||||
return ((png_charp) PNG_STRING_NEWLINE \
|
||||
"libpng version 1.4.1beta01 - January 3, 2010" PNG_STRING_NEWLINE \
|
||||
"libpng version 1.4.1beta01 - January 7, 2010" PNG_STRING_NEWLINE \
|
||||
"Copyright (c) 1998-2010 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
|
||||
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
|
||||
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
|
||||
PNG_STRING_NEWLINE);
|
||||
#else
|
||||
return ((png_charp) "libpng version 1.4.1beta01 - January 3, 2010\
|
||||
return ((png_charp) "libpng version 1.4.1beta01 - January 7, 2010\
|
||||
Copyright (c) 1998-2010 Glenn Randers-Pehrson\
|
||||
Copyright (c) 1996-1997 Andreas Dilger\
|
||||
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.");
|
||||
|
||||
Reference in New Issue
Block a user