Update per stdlib changes
Fix compilation with latest harec and stdlib
decoder_bufsiz: Allow PLTE with bit depth 4
Not sure why these lines were there in the first place.
Signed-off-by: Lassi Pulkkinen <lassi@pulk.fi>
Abort on attempt to create chunk reader at invalid position
To improve debuggability of bugs similar to the previous commit. Such a
bug could also occur in user code.
Signed-off-by: Lassi Pulkkinen <lassi@pulk.fi>
plte_read: Finish chunk reader properly
Call io::read at EOF so that the chunk reader knows to read the
checksum.
Signed-off-by: Lassi Pulkkinen <lassi@pulk.fi>
Add missing ? operators
Signed-off-by: Lassi Pulkkinen <lassi@pulk.fi>
Fix typos/incorrect names
Signed-off-by: Lassi Pulkkinen <lassi@pulk.fi>
Update custom streams according to static vtable change
README.md: add dependencies
Signed-off-by: Drew DeVault <sir@cmpwn.com>
.build.yml: add hare repository
Initial prep work for interlacing
decoder: remove redundant checks
This is handled by the ihdr decoder
all: improve error handling
idat: correct deflate => inflate