[libpng16Cleanup of png_set_filler(). This function does very different things
on read and write. In libpng 1.6 the two cases can be distinguished and
considerable code cleanup, and extra error checking, is possible. This
makes calls on the write side that have no effect be ignored with a
png_app_error(), which can be disabled in the app using
png_set_benign_errors(), and removes the spurious use of usr_channels
on the read side.
diff --git a/pngpriv.h b/pngpriv.h
index 1bcb057..c543c61 100644
--- a/pngpriv.h
+++ b/pngpriv.h
@@ -1577,7 +1577,7 @@
PNG_INTERNAL_FUNCTION(void,png_app_warning,(png_const_structrp png_ptr,
png_const_charp message),PNG_EMPTY);
/* The application provided invalid parameters to an API function or called
- * an API function at the wrong time, libpng can completely recovered.
+ * an API function at the wrong time, libpng can completely recover.
*/
PNG_INTERNAL_FUNCTION(void,png_app_error,(png_const_structrp png_ptr,