FLIF-hub / FLIF

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

Decoding failure sometimes get duplicated callbacks #433

Open saschanaz opened 7 years ago

saschanaz commented 7 years ago
  1. Get my debug branch https://github.com/SaschaNaz/FLIF/tree/viewflif
  2. Get a broken flif file https://1drv.ms/u/s!ArDhQNmhsUj029Rhj7FtNpf_paH8_g
  3. viewflif test.flif
  4. You will see:
Decode is not over, got quality: 9
Invalid tree. Aborting tree decoding.
File probably truncated in the middle of MANIAC tree representation. Interpolating.
Decode is over, got quality: 9
18049 bytes read, rendering at quality=0.09%