diff options
author | John Bowler <jbowler@acm.org> | 2011-12-28 21:34:27 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2011-12-28 21:34:27 -0600 |
commit | fcd301daed8252bf6df4c2f60fadaf66317edb0d (patch) | |
tree | 67d61d0ec0ac7ffc0ffb551314bf5cdddc69f4b8 /example.c | |
parent | 4f67e40898c5508d114e0c7e57cd089c87c53a89 (diff) |
[libpng16] Changed png_memcpy to C assignment where appropriate. Changed all
those uses of png_memcpy that were doing a simple assignment to assignments
(all those cases where the thing being copied is a non-array C L-value.)
Added some error checking to png_set_*() routines and removed the
reference to the non-exported function png_memcpy() from example.c. Fixed
the Visual C 64-bit build - it requires jmp_buf to be aligned, but it had
become misaligned.
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -718,7 +718,7 @@ row_callback(png_structp png_ptr, png_bytep new_row, * png_progressive_combine_row() passing in the new row and the * old row, as demonstrated above. You can call this function for * NULL rows (it will just return) and for non-interlaced images - * (it just does the png_memcpy for you) if it will make the code + * (it just does the memcpy for you) if it will make the code * easier. Thus, you can just do this for all cases: */ |