diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-02-26 15:16:34 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-03-24 13:42:44 +0000 |
commit | e0f638b398b2362f5843ea0c1907f678cfa8e278 (patch) | |
tree | 0f771d162c7f2c18f18bb12c8be86cdca06aaaeb /source/pdf/pdf-stream.c | |
parent | 4b3c02180d49403a4e477e494ed233ac2c672bd8 (diff) | |
download | mupdf-e0f638b398b2362f5843ea0c1907f678cfa8e278.tar.xz |
Don't pass interpreter context to pdf_processor opcode callbacks.
Update buffer and filter processors.
Filter both colors and stroke states.
Move OCG hiding logic into interpreter.
Diffstat (limited to 'source/pdf/pdf-stream.c')
-rw-r--r-- | source/pdf/pdf-stream.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/pdf/pdf-stream.c b/source/pdf/pdf-stream.c index 2335e67a..15fdd29a 100644 --- a/source/pdf/pdf-stream.c +++ b/source/pdf/pdf-stream.c @@ -620,6 +620,5 @@ pdf_open_contents_stream(fz_context *ctx, pdf_document *doc, pdf_obj *obj) if (pdf_is_stream(ctx, doc, num, gen)) return pdf_open_image_stream(ctx, doc, num, gen, num, gen, NULL); - fz_warn(ctx, "pdf object stream missing (%d %d R)", num, gen); - return NULL; + fz_throw(ctx, FZ_ERROR_GENERIC, "pdf object stream missing (%d %d R)", num, gen); } |