[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:
Glenn Randers-Pehrson
2010-01-07 11:10:16 -06:00
parent 793fedcf57
commit c87ddbb3ce
8 changed files with 15 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
/* pngpriv.h - private declarations for use inside libpng
*
* libpng version 1.4.1beta01 - January 3, 2010
* libpng version 1.4.1beta01 - January 7, 2010
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)