summaryrefslogtreecommitdiff
path: root/testing/fuzzers/pdf_jpx_fuzzer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fuzzers/pdf_jpx_fuzzer.cc')
-rw-r--r--testing/fuzzers/pdf_jpx_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/fuzzers/pdf_jpx_fuzzer.cc b/testing/fuzzers/pdf_jpx_fuzzer.cc
index b74957bb14..011b1711e0 100644
--- a/testing/fuzzers/pdf_jpx_fuzzer.cc
+++ b/testing/fuzzers/pdf_jpx_fuzzer.cc
@@ -20,7 +20,7 @@ const uint32_t kMaxJPXFuzzSize = 100 * 1024 * 1024; // 100 MB
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
std::unique_ptr<CJPX_Decoder> decoder =
- g_module.CreateDecoder(data, size, nullptr);
+ g_module.CreateDecoder({data, size}, nullptr);
if (!decoder)
return 0;