summaryrefslogtreecommitdiff
path: root/src/libnsgif.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-04-04 13:53:51 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2017-04-05 11:06:23 +0100
commitf9797e4ae82090808036b1e1ec4318d0f1bdc456 (patch)
tree5a8d0c86954d5bc46deff890cf7551ab1f4a5989 /src/libnsgif.c
parent34f3a9a81824dcda5a3e1944d14b0273298ec0c3 (diff)
downloadlibnsgif-f9797e4ae82090808036b1e1ec4318d0f1bdc456.tar.gz
libnsgif-f9797e4ae82090808036b1e1ec4318d0f1bdc456.tar.bz2
New LZW decoder: Real-world fix; continue after dictionary is full.
Diffstat (limited to 'src/libnsgif.c')
-rw-r--r--src/libnsgif.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libnsgif.c b/src/libnsgif.c
index fffbd94..6bf9956 100644
--- a/src/libnsgif.c
+++ b/src/libnsgif.c
@@ -566,7 +566,6 @@ static gif_result gif_error_from_lzw(lzw_result l_res)
[LZW_EOI_CODE] = GIF_FRAME_DATA_ERROR,
[LZW_BAD_ICODE] = GIF_FRAME_DATA_ERROR,
[LZW_BAD_CODE] = GIF_FRAME_DATA_ERROR,
- [LZW_BAD_DATA] = GIF_FRAME_DATA_ERROR,
};
return g_res[l_res];
}