diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2017-05-28 19:56:23 +0300 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2017-05-28 19:56:23 +0300 |
commit | c9bffd4f4e69fb1f34781cdf138b8b17e96b835b (patch) | |
tree | 9cdc9cba9107c4c81733a9c0bcdce09f8e52f891 /plugins/AdvaImg/src/LibPNG/pngwio.c | |
parent | 7ce09a842f90f43268f74afb9bbb67a7b6bf7749 (diff) |
AdvaImg: LibPNG lib updated to 1.6.29
Diffstat (limited to 'plugins/AdvaImg/src/LibPNG/pngwio.c')
-rw-r--r-- | plugins/AdvaImg/src/LibPNG/pngwio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/AdvaImg/src/LibPNG/pngwio.c b/plugins/AdvaImg/src/LibPNG/pngwio.c index 858faebc87..28194b6fc6 100644 --- a/plugins/AdvaImg/src/LibPNG/pngwio.c +++ b/plugins/AdvaImg/src/LibPNG/pngwio.c @@ -1,8 +1,8 @@ /* pngwio.c - functions for data output
*
- * Last changed in libpng 1.6.15 [November 20, 2014]
- * Copyright (c) 1998-2014 Glenn Randers-Pehrson
+ * Last changed in libpng 1.6.24 [August 4, 2016]
+ * Copyright (c) 1998-2002,2004,2006-2014,2016 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
@@ -26,7 +26,7 @@ * writes to a file pointer. Note that this routine sometimes gets called
* with very small lengths, so you should implement some kind of simple
* buffering if you are using unbuffered writes. This should never be asked
- * to write more than 64K on a 16 bit machine.
+ * to write more than 64K on a 16-bit machine.
*/
void /* PRIVATE */
@@ -35,7 +35,7 @@ png_write_data(png_structrp png_ptr, png_const_bytep data, png_size_t length) /* NOTE: write_data_fn must not change the buffer! */
if (png_ptr->write_data_fn != NULL )
(*(png_ptr->write_data_fn))(png_ptr, png_constcast(png_bytep,data),
- length);
+ length);
else
png_error(png_ptr, "Call to NULL write function");
|