[master] Imported from libpng-1.6.18.tar

This commit is contained in:
Glenn Randers-Pehrson
2015-07-22 22:36:43 -05:00
parent 2b667e4923
commit 287fb89248
54 changed files with 3139 additions and 1878 deletions

View File

@@ -27,6 +27,8 @@
*/
#include "../../png.h"
#if defined(PNG_READ_SUPPORTED) && defined(PNG_SEQUENTIAL_READ_SUPPORTED)
/* Return component 'c' of pixel 'x' from the given row. */
static unsigned int
component(png_const_bytep row, png_uint_32 x, unsigned int c,
@@ -366,3 +368,4 @@ int main(int argc, const char **argv)
return result;
}
#endif /* READ && SEQUENTIAL_READ */