]> wimlib.net Git - wimlib/blobdiff - src/write.c
wimlib-imagex: Allow specifying LZMS compression
[wimlib] / src / write.c
index 7e2ac220ef82a923f4d1b436186a6c836df99aa7..98ee80d8fef81df7d3d629b2b02f14ee41278633 100644 (file)
@@ -1213,6 +1213,12 @@ write_stream_list(struct list_head *stream_list,
         * bytes needing to be compressed is less 2000000 (heuristic value).  */
        if (out_ctype != WIMLIB_COMPRESSION_TYPE_NONE) {
 
+               if (out_ctype == WIMLIB_COMPRESSION_TYPE_LZMS &&
+                   ctx.lookup_table != NULL) {
+                       WARNING("LZMS compression not implemented; data will "
+                               "actually be written uncompressed.");
+               }
+
                if (ctx.num_bytes_to_compress >= 2000000) {
                        ret = new_parallel_chunk_compressor(out_ctype,
                                                            out_chunk_size,