diff options
author | Tor Andersson <tor@ghostscript.com> | 2008-09-01 23:41:58 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2008-09-01 23:41:58 +0200 |
commit | 0b90baa2e4e0b14fd1373907c0e4421cf9f27777 (patch) | |
tree | 69314c377a42059ad115b09b1ef48809fcc3c553 | |
parent | 0b2236cc4b60310efbd574ef3749d22364212e28 (diff) | |
download | mupdf-0b90baa2e4e0b14fd1373907c0e4421cf9f27777.tar.xz |
Initialize all codes including eod/clear.
-rw-r--r-- | stream/filt_lzwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/filt_lzwd.c b/stream/filt_lzwd.c index 8e90a74e..76ebe92a 100644 --- a/stream/filt_lzwd.c +++ b/stream/filt_lzwd.c @@ -69,7 +69,7 @@ fz_newlzwd(fz_filter **fp, fz_obj *params) lzw->table[i].prev = -1; } - for (i = LZW_FIRST; i < NUMCODES; i++) + for (i = 256; i < NUMCODES; i++) { lzw->table[i].value = 0; lzw->table[i].firstchar = 0; |