Reduce the number of pixels in crunch mode for the fuzzer

BUG: oss-fuzz:482603188
Change-Id: Iab8c2eb9d00efa06fa148642c86b6a4f99a5a791
This commit is contained in:
Vincent Rabaud
2026-02-09 10:32:39 +01:00
parent d29e00aa70
commit f342dfc175

View File

@@ -48,7 +48,7 @@ void EncTestImpl(WebPPicture& pic, uint32_t optimization_index, bool use_argb,
// Skip the cruncher except on small images, it's likely to timeout.
if (config.lossless && config.quality == 100. && config.method == 6 &&
pic.width * pic.height >= 16384) {
pic.width * pic.height >= 10000) {
config.lossless = 0;
}