Skip to content

Commit 54bd4c3

Browse files
fix typo in decode.md (#228)
`spng_set_chunk_limits` not `spng_set_chunks_limits`
1 parent c9451ca commit 54bd4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/decode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ To decode untrusted files safely it is required to at least:
141141
* Use `spng_decoded_image_size()` to calculate the output image size
142142
and check it against a constant limit.
143143

144-
* Set a chunk size and chunk cache limit with `spng_set_chunks_limits()`
144+
* Set a chunk size and chunk cache limit with `spng_set_chunk_limits()`
145145
to control memory usage and avoid DoS from decompression bombs.
146146

147147

0 commit comments

Comments
 (0)