]> wimlib.net Git - wimlib/commit
Call wimlib_global_init() when creating compressors and decompressors
authorEric Biggers <ebiggers3@gmail.com>
Sat, 18 Mar 2023 07:17:54 +0000 (00:17 -0700)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 18 Mar 2023 07:17:54 +0000 (00:17 -0700)
commit9ac9ae0c66a35bab0243c91e4647804aa6dd336f
tree8e317c15c2f1d2bc2ce1113cf17713e12c14bcc0
parent796226247812ee509b3645d4cb4a984cfbc2517e
Call wimlib_global_init() when creating compressors and decompressors

All nontrivial API functions are supposed to call wimlib_global_init().
wimlib_create_compressor() and wimlib_create_decompressor() did not.
Make them do so, so that CPU feature detection can be moved to
wimlib_global_init().
src/compress.c
src/decompress.c