summaryrefslogtreecommitdiff
path: root/fitz/filt_predict.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/filt_predict.c')
-rw-r--r--fitz/filt_predict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/filt_predict.c b/fitz/filt_predict.c
index 94f2718a..17cfe905 100644
--- a/fitz/filt_predict.c
+++ b/fitz/filt_predict.c
@@ -154,7 +154,7 @@ read_predict(fz_stream *stm, unsigned char *buf, int len)
{
n = fz_read(state->chain, state->in, state->stride + ispng);
if (n < 0)
- return fz_rethrow(n, "read error in prediction filter");
+ return fz_error_note(n, "read error in prediction filter");
if (n == 0)
return p - buf;