flate

deflate implementation
git clone git://git.suckless.org/flate
Log | Files | Refs | README

commit b892bad099da2edd08574850ea68594e44cfa1c0
parent 3928a4216079f8891ba262c78cfa1e02ad75d998
Author: nsz <nszabolcs@gmail.com>
Date:   Tue, 11 Aug 2009 14:48:57 +0200

fix
Diffstat:
deflate.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deflate.c b/deflate.c @@ -9,7 +9,7 @@ enum { Nlen = 29, /* number of len codes */ Nlitlen = Nlit + Nlen + 3, /* litlen codes + block end + 2 unused */ Ndist = 30, /* number of distance codes */ - Nclen = 19 /* number of code length codes */ + Nclen = 19, /* number of code length codes */ MinMatch = 3, /* min match length */ MaxMatch = 258, /* max match length */ MaxDist = 1 << 15, /* max match distance */ @@ -21,7 +21,7 @@ enum { WinSize = 2*MaxDist + MaxMatch, /* input window size */ DstSize = MaxDist + 2*MaxMatch + 6, /* output window size (worst case compressed block size) */ LzSize = 1 << 13, /* lz buffer size */ - LzLitFlag = 1 << 15, /* marks literal run length in lz buffer */ + LzLitFlag = 1 << 15 /* marks literal run length in lz buffer */ }; typedef struct {