[libpng16] Minor update to documentation and CHANGES/ANNOUNCE files.

This commit is contained in:
Glenn Randers-Pehrson
2014-05-09 21:06:27 -05:00
parent e95ce2c517
commit d1c5f48c05
5 changed files with 34 additions and 21 deletions

View File

@@ -328,6 +328,9 @@ png_do_swap(png_row_infop row_info, png_bytep row)
for (i = 0; i < istop; i++, rp += 2)
{
#ifdef PNG_BUILTIN_BSWAP16_SUPPORTED
/* Feature added to libpng-1.6.11 for testing purposes, not
* enabled by default.
*/
*(png_uint_16*)rp = __builtin_bswap16(*(png_uint_16*)rp);
#else
png_byte t = *rp;