X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=examples%2Fdecompressfile.c;h=0d8bee6b4a85696a405cdbec645b1f1c6ef5a806;hb=d31b2fee211b1c31420bafe1c2379f6f89bd92fe;hp=11a20f19c5c6263f71bd51615d3bf72c58fffb86;hpb=c3a1bd96026fd5a1d43c5f6178f9f0165afdd098;p=wimlib diff --git a/examples/decompressfile.c b/examples/decompressfile.c index 11a20f19..0d8bee6b 100644 --- a/examples/decompressfile.c +++ b/examples/decompressfile.c @@ -24,6 +24,9 @@ * * The compressed file format created here is simply a series of compressed * chunks. A real format would need to have checksums and other metadata. + * + * The author dedicates this file to the public domain. + * You can do whatever you want with this file. */ #define _GNU_SOURCE @@ -133,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));