xpress_compress(): Initialize all data written
authorEric Biggers <ebiggers3@gmail.com>
Fri, 26 Oct 2012 17:57:14 +0000 (12:57 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Fri, 26 Oct 2012 17:57:14 +0000 (12:57 -0500)
commitf308322e2f405932116152bc01754bfca7635003
treefd78f826225813a6739f599508fc738c785f19cb
parent48967979a46cff063fc94308fe50553d48602454
xpress_compress(): Initialize all data written

- Make sure the flushing of the bitstream and the finishing of the compressed
  data is done properly.

- Fix indentation and whitespace.

- Zero out chunk table before writing it.
src/comp.c
src/comp.h
src/decomp.c
src/decomp.h
src/resource.c
src/xpress-comp.c
src/xpress-decomp.c