Temporary code to continue this.lzw.decode calls.

This is a hard-coded, short term fix so that GIF decoding works
end-to-end. The long term fix is to have some principled way of
responding to non-fatal status codes such as "short read".
This commit is contained in:
Nigel Tao committed 2017-06-23 15:46:08 +10:00
1 parent 8ad82f5e1f
commit 8fe438d0b4
3 files changed
+4 -4

No files matched your search

+1 -2
View File
@@ -347,8 +347,7 @@ void test_gif_decode_input_is_a_gif() {
test_gif_decode_input_is_a_xxx("../../testdata/bricks-dither.gif",
"../../testdata/bricks-dither.palette",
"../../testdata/bricks-dither.indexes",
// TODO: puffs_gif_status_ok);
puffs_gif_status_short_read);
puffs_gif_status_ok);
}
void test_gif_decode_input_is_a_png() {