Fill out the lzw_decoder implementation.

This commit is contained in:
Nigel Tao committed 2017-06-10 15:23:43 +10:00
1 parent 8e279c51bf
commit 8d6694a752
5 files changed
+78 -34

No files matched your search

+2 -1
View File
@@ -63,7 +63,8 @@ typedef enum {
puffs_gif_error_unexpected_eof = -10 + 1,
puffs_gif_status_short_read = -12,
puffs_gif_status_short_write = -14,
puffs_gif_error_bad_gif_image = -256 + 1,
puffs_gif_error_lzw_code_is_out_of_range = -256 + 1,
puffs_gif_error_lzw_prefix_chain_is_cyclical = -258 + 1,
} puffs_gif_status;
bool puffs_gif_status_is_error(puffs_gif_status s);