summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/fitz/filter-jbig2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/filter-jbig2.c b/source/fitz/filter-jbig2.c
index cbb70988..74fdae66 100644
--- a/source/fitz/filter-jbig2.c
+++ b/source/fitz/filter-jbig2.c
@@ -322,7 +322,7 @@ next_jbig2d(fz_context *ctx, fz_stream *stm, size_t len)
state->page = jbig2_page_out(state->ctx);
if (!state->page)
- fz_throw(ctx, FZ_ERROR_GENERIC, "jbig2_page_out failed");
+ fz_throw(ctx, FZ_ERROR_GENERIC, "cannot decode jbig2 image");
}
s = state->page->data;