FLIF-hub / FLIF

Free Lossless Image Format
Other
3.72k stars 229 forks source link

Some small fixes to enhance robustness #449

Closed maage closed 7 years ago

maage commented 7 years ago

Maybe there is better way to guard against width/height or rows/cols being 0. These guards are mostly there where issues actually manifest.

maage commented 7 years ago

I've also pushed fixes3 at https://github.com/maage/FLIF/tree/fixes3, it has some build infra stuff.

And also quick and dirty patches to handle situations to notice when FLIF decoding was not okay. My guess is that there is better ways to do that but at least these seem to work.