summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryguyon@google.com <yguyon@google.com>2023-03-08 07:50:19 +0000
committerJames Zern <jzern@google.com>2023-03-24 10:52:43 -0700
commit89edfdd1e982fa146308b73cb5f02ac8dc411b62 (patch)
tree04df1d98d25aad35ff5e5c5d7fc2560352c502b4
parent859f19f74f7d583f3132875a34489601455bff48 (diff)
downloadlibwebp-89edfdd1e982fa146308b73cb5f02ac8dc411b62.tar.gz
Skip slow scaling in libwebp advanced_api_fuzzer
Change-Id: Ic57e7f8418afec42f042197a401aaf4cc047b23f
-rw-r--r--tests/fuzzer/advanced_api_fuzzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzzer/advanced_api_fuzzer.c b/tests/fuzzer/advanced_api_fuzzer.c
index e861db76..de1149a9 100644
--- a/tests/fuzzer/advanced_api_fuzzer.c
+++ b/tests/fuzzer/advanced_api_fuzzer.c
@@ -85,7 +85,7 @@ int LLVMFuzzerTestOneInput(const uint8_t* const data, size_t size) {
scaled_height != config.input.height) {
// Using the WebPRescalerImport internally can significantly slow
// down the execution. Avoid timeouts due to that.
- fuzz_px_limit /= 3;
+ fuzz_px_limit /= 8;
}
// A big output canvas can lead to out-of-memory and timeout issues,
// but a big internal working buffer can too.