diff --git a/lz4.c b/lz4.c index e482bb2..3483095 100644 --- a/lz4.c +++ b/lz4.c @@ -122,13 +122,13 @@ int LZ4_compressCtx(void** ctx, struct refTables *srt = (struct refTables *) (*ctx); BYTE** HashTable; - BYTE *ip = (BYTE*) source, /* input pointer */ + BYTE *ip = (BYTE*) source, *anchor = ip, *incompressible = anchor + INCOMPRESSIBLE, *iend = ip + isize, *ilimit = iend - MINMATCH; - BYTE *op = (BYTE*) dest, /* output pointer */ + BYTE *op = (BYTE*) dest, *ref, *orun, *l_end; @@ -171,7 +171,7 @@ int LZ4_compressCtx(void** ctx, // Copy Literals l_end = op + length; - while (op