ref: 2e9e3314b4264e547ce9372b4bcd2f20c50b5357
parent: f96255c8451e2d07406e2bd5f513f1d0aec34f29
author: Ralph Giles <giles@ghostscript.com>
date: Wed Jul 15 18:28:03 EDT 2009
Document that jbig2_data_in() can return -1 on fatal errors.
--- a/jbig2.c
+++ b/jbig2.c
@@ -183,6 +183,8 @@
* to (continue to) parse it as part of a jbig2 data stream.
*
* Return code: 0 on success
+ * -1 if there is a parsing error, or whatever
+ * the error handling callback returns
**/
int
jbig2_data_in (Jbig2Ctx *ctx, const unsigned char *data, size_t size)