[libpng15] Fixed a typo in pngrutil.c, introduced in libpng-1.5.6, that

interferes with "blocky" expansion of sub-8-bit interlaced PNG files.
This commit is contained in:
Glenn Randers-Pehrson
2014-04-06 08:48:27 -05:00
parent c98798e7dc
commit af759fb3fe
3 changed files with 8 additions and 4 deletions

View File

@@ -2957,7 +2957,7 @@ png_combine_row(png_structp png_ptr, png_bytep dp, int display)
# define S_MASKS(d,s) { S_MASK(0,d,s), S_MASK(1,d,s), S_MASK(2,d,s),\
S_MASK(3,d,s), S_MASK(4,d,s), S_MASK(5,d,s) }
# define B_MASKS(d,s) { B_MASK(1,d,s), S_MASK(3,d,s), S_MASK(5,d,s) }
# define B_MASKS(d,s) { B_MASK(1,d,s), B_MASK(3,d,s), B_MASK(5,d,s) }
# define DEPTH_INDEX(d) ((d)==1?0:((d)==2?1:2))