]> wimlib.net Git - wimlib/commit
LZX decompression cleanups
authorEric Biggers <ebiggers3@gmail.com>
Fri, 21 Dec 2012 03:59:27 +0000 (21:59 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Fri, 21 Dec 2012 03:59:27 +0000 (21:59 -0600)
commit1ab60207e56968e480be6400c67844017598b7dd
treef859c30982e4b9a96ad7351bdf9e81014243c24c
parente78f0d2a97781f3c5f242417c747fdc4eef43cdf
LZX decompression cleanups

- Improve comments
- Get rid of bitstream_read_bytes() because it wasn't clear what it was supposed
  to do.  Just inline what needs to be done in the appropriate places.
- Only undo the call instruction preprocessing if 0xe8 bytes may be in the input
  data.
src/decompress.c
src/decompress.h
src/lzx-common.c
src/lzx-compress.c
src/lzx-decompress.c
src/lzx.h
src/resource.c