summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-10-02 17:56:18 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-10-02 18:40:36 +0200
commitcc82b742be31a377c88a997f830471e4a8c04fe0 (patch)
tree1076a1ae7336790cee37d258dab203cebe0f438f /documentation
parent59836fb19f45d123e0f75b47c497b97aaa7bdfbe (diff)
Improve GIF error handling, terminate on some errors
There's not much we can do if we find unknown data in the main parser loop. The best we can do is terminating. If we find a GIF trailer (0x3b) this means logical end of file. If we get there in the main loop the GIF file is empty (no image). This behavior is consistent with many other image viewers including browsers (Firefox and Chrome).
Diffstat (limited to 'documentation')
0 files changed, 0 insertions, 0 deletions