[libpng15] Reverted previous change; removed png_get_compression_buffer() API.

It is too risky. Exactly how png_ptr->zbuf is used is under control of the
individual chunk implementation and there could easily be significant changes
within a major release.
This commit is contained in:
Glenn Randers-Pehrson
2011-10-13 20:30:02 -05:00
parent d3dcb463d6
commit d58251b47e
9 changed files with 19 additions and 60 deletions

View File

@@ -557,9 +557,6 @@ option SAVE_INT_32 requires WRITE
option WRITE_OPTIMIZE_CMF requires WRITE
# Added at libpng-1.5.6
option GET_COMPRESSION_BUFFER
option READ_COMPRESSED_TEXT disabled
option READ_iCCP enables READ_COMPRESSED_TEXT
option READ_iTXt enables READ_COMPRESSED_TEXT

View File

@@ -55,7 +55,6 @@
#define PNG_FLOATING_ARITHMETIC_SUPPORTED
#define PNG_FLOATING_POINT_SUPPORTED
#define PNG_gAMA_SUPPORTED
#define PNG_GET_COMPRESSION_BUFFER_SUPPORTED
#define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
#define PNG_hIST_SUPPORTED
#define PNG_iCCP_SUPPORTED

View File

@@ -239,4 +239,3 @@ EXPORTS
png_get_cHRM_XYZ_fixed @231
png_set_cHRM_XYZ @232
png_set_cHRM_XYZ_fixed @233
png_get_compression_buffer @234