diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2019-05-02 03:47:53 +0800 |
---|---|---|
committer | jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> | 2019-05-01 15:47:53 -0400 |
commit | 27240f86f5828e247755cd491cd71e99a2a8bd2b (patch) | |
tree | 0755a7913c464ff5bb7df882033d5071968012e2 /projects | |
parent | 60a23d384140f16e30b4886fc8f14411ea94e66a (diff) |
[mupdf] Update to latest version of API provided by MuPDF. (#2362)
This reverts commit 7fa021dfbecf30aa04613d8497954f6a482dbb09
because the corresponding API was reverted in the upstream project.
Diffstat (limited to 'projects')
-rw-r--r-- | projects/mupdf/pdf_fuzzer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/mupdf/pdf_fuzzer.cc b/projects/mupdf/pdf_fuzzer.cc index d6662b9d..fd8ad7fa 100644 --- a/projects/mupdf/pdf_fuzzer.cc +++ b/projects/mupdf/pdf_fuzzer.cc @@ -124,7 +124,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { doc = fz_open_document_with_stream(ctx, "pdf", stream); for (int i = 0; i < fz_count_pages(ctx, doc); i++) { - pix = fz_new_pixmap_from_page_number(ctx, doc, i, fz_identity, fz_device_rgb(ctx), NULL, 0); + pix = fz_new_pixmap_from_page_number(ctx, doc, i, fz_identity, fz_device_rgb(ctx), 0); fz_drop_pixmap(ctx, pix); pix = NULL; } |