Skip to content

size of stbi__zdist_extra in stb_image.h #1267

Answered by nothings
rds1983 asked this question in Q&A
Discussion options

You must be logged in to vote

The definition of DEFLATE defines 30 entries in that table. It is unclear if there is a reason the array is declared as 32 long. The C code will initialize the extra values to 0.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rds1983
Comment options

Answer selected by rds1983
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants