Skip to content

Commit f342dfc

Browse files
committed
Reduce the number of pixels in crunch mode for the fuzzer
BUG: oss-fuzz:482603188 Change-Id: Iab8c2eb9d00efa06fa148642c86b6a4f99a5a791
1 parent d29e00a commit f342dfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/fuzzer/enc_fuzzer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void EncTestImpl(WebPPicture& pic, uint32_t optimization_index, bool use_argb,
4848

4949
// Skip the cruncher except on small images, it's likely to timeout.
5050
if (config.lossless && config.quality == 100. && config.method == 6 &&
51-
pic.width * pic.height >= 16384) {
51+
pic.width * pic.height >= 10000) {
5252
config.lossless = 0;
5353
}
5454

0 commit comments

Comments
 (0)