mirror of
https://github.com/webmproject/libwebp.git
synced 2026-02-09 19:46:39 +01:00
Reduce the number of pixels in crunch mode for the fuzzer
BUG: oss-fuzz:482603188 Change-Id: Iab8c2eb9d00efa06fa148642c86b6a4f99a5a791
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user