diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2009-04-30 21:01:52 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2009-04-30 21:01:52 +0200 |
commit | 0b561c8cbc64ba55e19ceb152624845617aa0cf0 (patch) | |
tree | ae820fc0869410aaa12ea820bddc7999753a1e9e | |
parent | ffc81cfb270ba71cf6a8cb0d6192a86beed0973f (diff) | |
download | mupdf-0b561c8cbc64ba55e19ceb152624845617aa0cf0.tar.xz |
Interpret empty objects as the null object.
-rw-r--r-- | mupdf/pdf_parse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mupdf/pdf_parse.c b/mupdf/pdf_parse.c index 3f9ed545..02c4abbf 100644 --- a/mupdf/pdf_parse.c +++ b/mupdf/pdf_parse.c @@ -416,6 +416,9 @@ pdf_parseindobj(fz_obj **op, fz_stream *file, char *buf, int cap, } } goto cleanup; + case PDF_TENDOBJ: + error = fz_newnull(&obj); + goto skip; default: goto cleanup; } |