]> wimlib.net Git - wimlib/blobdiff - src/compress_serial.c
v1.14.2-BETA2
[wimlib] / src / compress_serial.c
index 35470ec531a6ae40bf72d43b91f1a9315fbe9658..24a6795c0ad115da82643fc982d322be6044270c 100644 (file)
@@ -18,7 +18,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public License
- * along with this file; if not, see http://www.gnu.org/licenses/.
+ * along with this file; if not, see https://www.gnu.org/licenses/.
  */
 
 #ifdef HAVE_CONFIG_H
@@ -127,7 +127,8 @@ new_serial_chunk_compressor(int out_ctype, u32 out_chunk_size,
        ctx->base.get_compression_result = serial_chunk_compressor_get_compression_result;
 
        ret = wimlib_create_compressor(out_ctype, out_chunk_size,
-                                      0, &ctx->compressor);
+                                      WIMLIB_COMPRESSOR_FLAG_DESTRUCTIVE,
+                                      &ctx->compressor);
        if (ret)
                goto err;