[libpng15] Align png_struct::row_buf - previously it was always unaligned,

caused by a bug in the code that attempted to align it; the code needs to
subtract one from the pointer to take account of the filter byte prepended to
each row.
This commit is contained in:
John Bowler
2011-10-06 22:27:16 -05:00
committed by Glenn Randers-Pehrson
parent 65c0339b5c
commit ac8375d000
3 changed files with 207 additions and 210 deletions

View File

@@ -60,6 +60,10 @@ Version 1.5.6beta05 [October 7, 2011]
of the code, allowing it to be optimized for Adam7 interlace. The masks
passed to png_combine_row() are now generated internally, avoiding
some code duplication and localizing the interlace handling somewhat.
Align png_struct::row_buf - previously it was always unaligned, caused by
a bug in the code that attempted to align it; the code needs to subtract
one from the pointer to take account of the filter byte prepended to
each row.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit