]> wimlib.net Git - wimlib/blobdiff - examples/decompressfile.c
Merge compression updates
[wimlib] / examples / decompressfile.c
index 8e461d43f86d33110c1171a8325b3d1ca96012c8..0d8bee6b4a85696a405cdbec645b1f1c6ef5a806 100644 (file)
@@ -136,7 +136,7 @@ int main(int argc, char **argv)
 
        /* Create a decompressor for the compression type and chunk size with
         * the default parameters.  */
-       ret = wimlib_create_decompressor(ctype, chunk_size, NULL, &decompressor);
+       ret = wimlib_create_decompressor(ctype, chunk_size, &decompressor);
        if (ret != 0)
                error(1, 0, "Failed to create decompressor: %s",
                      wimlib_get_error_string(ret));