summaryrefslogtreecommitdiff
path: root/fitz/filt_faxd.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-08-12 14:17:15 +0000
committerTor Andersson <tor@ghostscript.com>2010-08-12 14:17:15 +0000
commit89365154d5cf23ed7cce262dbf799993899321c2 (patch)
treea8cb2124089d7d6c5b9ca7ed952fb7f6d2b8b11b /fitz/filt_faxd.c
parent178c9fab191dd9f8c682eb0e8e4f54d9ba2c9923 (diff)
downloadmupdf-89365154d5cf23ed7cce262dbf799993899321c2.tar.xz
Remove pdf_image struct -- load images directly into fz_pixmaps instead.
Diffstat (limited to 'fitz/filt_faxd.c')
-rw-r--r--fitz/filt_faxd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fitz/filt_faxd.c b/fitz/filt_faxd.c
index 4a732091..fb9b4c52 100644
--- a/fitz/filt_faxd.c
+++ b/fitz/filt_faxd.c
@@ -683,6 +683,10 @@ eol:
eatbits(fax, (8 - fax->bidx) & 7);
}
+ /* no more space in output, don't decode the next row yet */
+ if (p == buf + len)
+ return p - buf;
+
goto loop;
rtc: