We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b60bc commit 93b2e4eCopy full SHA for 93b2e4e
1 file changed
tests/spng_write_fuzzer.c
@@ -71,6 +71,8 @@ int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
71
state.data = NULL;
72
state.bytes_left = SIZE_MAX;
73
74
+ spng_set_option(ctx, SPNG_IMG_COMPRESSION_LEVEL, 0);
75
+
76
if(stream) ret = spng_set_png_stream(ctx, stream_write_fn, &state);
77
else ret = spng_set_option(ctx, SPNG_ENCODE_TO_BUFFER, 1);
78
0 commit comments