]> wimlib.net Git - wimlib/commit
main_writer_thread_proc(): Fix minor issues
authorEric Biggers <ebiggers3@gmail.com>
Sat, 24 Nov 2012 05:37:14 +0000 (23:37 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 24 Nov 2012 05:37:14 +0000 (23:37 -0600)
commita59c8125e7083fd9e9c6c98984bb4e70b7460ba4
tree8952fcdeadb905a124031d83b07aa71bb6a5ab1c
parent7e46382989eae27d4b538055ff2fbff4c2b70794
main_writer_thread_proc():  Fix minor issues

- If a resource compresses to the same size or larger than the original size,
  directly write it uncompressed with the main thread.
- Re-organize the code so as to not force the first resource to be compressed if
  it doesn't need to be.
src/write.c