diff options
Diffstat (limited to 'util/fuzz-tests')
-rw-r--r-- | util/fuzz-tests/jpeg-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fuzz-tests/jpeg-test.c b/util/fuzz-tests/jpeg-test.c index 69e6c8d79a..da21824b6e 100644 --- a/util/fuzz-tests/jpeg-test.c +++ b/util/fuzz-tests/jpeg-test.c @@ -30,7 +30,7 @@ int main(int argc, char **argv) jpeg_fetch_size(buf, &width, &height); //printf("width: %d, height: %d\n", width, height); char *pic = malloc(depth / 8 * width * height); - int ret = jpeg_decode(buf, pic, width, height, depth, decdata); + int ret = jpeg_decode(buf, pic, width, height, width * depth / 8, depth, decdata); //printf("ret: %x\n", ret); return ret; } |