[master] Revised png_push_save_buffer() to do fewer but larger png_mallocs

Eliminated use of png_ptr->irowbytes and reused the slot in png_ptr as
png_ptr->png_user_chunk_malloc_max.
This commit is contained in:
Glenn Randers-Pehrson
2010-02-06 12:15:07 -06:00
parent f3c42680db
commit 4bd73b6947
12 changed files with 93 additions and 60 deletions

View File

@@ -1,5 +1,5 @@
Libpng 1.4.1beta07 - February 5, 2010
Libpng 1.4.1beta07 - February 6, 2010
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@@ -59,8 +59,12 @@ version 1.4.1beta06 [January 28, 2010]
Revised png_decompress_chunk() to use a two-pass method suggested by
John Bowler.
version 1.4.1beta07 [February 5, 2010]
version 1.4.1beta07 [February 6, 2010]
Folded some long lines in the source files.
Added defineable PNG_USER_CHUNK_CACHE_MAX and PNG_USER_CHUNK_MALLOC_MAX
Eliminated use of png_ptr->irowbytes and reused the slot in png_ptr as
png_ptr->png_user_chunk_malloc_max.
Revised png_push_save_buffer() to do fewer but larger png_malloc() calls.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit