]> wimlib.net Git - wimlib/blobdiff - src/resource.c
Merge compression updates
[wimlib] / src / resource.c
index 53283f2c3c5b3edf632331024910098e48b9bcf5..4b1534ec5534b2632eb36181ca685e65c05a753a 100644 (file)
@@ -207,7 +207,7 @@ read_compressed_wim_resource(const struct wim_resource_spec * const rspec,
                rspec->wim->decompressor_ctype = WIMLIB_COMPRESSION_TYPE_NONE;
                rspec->wim->decompressor = NULL;
        } else {
-               ret = wimlib_create_decompressor(ctype, chunk_size, NULL,
+               ret = wimlib_create_decompressor(ctype, chunk_size,
                                                 &decompressor);
                if (ret) {
                        if (ret != WIMLIB_ERR_NOMEM)