diff options
author | Tor Andersson <tor@ghostscript.com> | 2011-03-06 13:30:01 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2011-03-06 13:30:01 +0000 |
commit | 2d919ffba311dde73dc957f325ee55c7ce4f66fa (patch) | |
tree | 4bc02aa664c92a1002cec047a7ccece22eee77e2 /fitz/filt_basic.c | |
parent | 9dee36047ab01f929582fa7b715af392f2de7d24 (diff) | |
download | mupdf-2d919ffba311dde73dc957f325ee55c7ce4f66fa.tar.xz |
Add explicit EOF testing functions.
Diffstat (limited to 'fitz/filt_basic.c')
-rw-r--r-- | fitz/filt_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/filt_basic.c b/fitz/filt_basic.c index 14eefb19..91af02d4 100644 --- a/fitz/filt_basic.c +++ b/fitz/filt_basic.c @@ -468,7 +468,7 @@ readaesd(fz_stream *stm, unsigned char *buf, int len) state->wp = state->bp + 16; /* strip padding at end of file */ - if (fz_peekbyte(state->chain) == EOF) + if (fz_iseof(state->chain)) { int pad = state->bp[15]; if (pad < 1 || pad > 16) |