diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-01-17 16:17:02 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-01-17 16:17:02 +0100 |
commit | d4e5905d238addd9588dd80fb8af9b9239ca4f04 (patch) | |
tree | f2568d05d42528552844836a91f8d8d518cacad1 | |
parent | 3e6c89abea0955a6282c687f9dd7dedd896c409e (diff) | |
download | mupdf-d4e5905d238addd9588dd80fb8af9b9239ca4f04.tar.xz |
Allow stray spaces after a stream keyword.
-rw-r--r-- | mupdf/pdf_parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mupdf/pdf_parse.c b/mupdf/pdf_parse.c index 7f8b2614..28c441fa 100644 --- a/mupdf/pdf_parse.c +++ b/mupdf/pdf_parse.c @@ -495,6 +495,8 @@ skip: if (tok == PDF_TSTREAM) { int c = fz_readbyte(file); + while (c == ' ') + c = fz_readbyte(file); if (c == '\r') { c = fz_peekbyte(file); |