X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fcompress_serial.c;h=6bac63ec8f9b2037bf720c82d69649264eddc006;hp=35470ec531a6ae40bf72d43b91f1a9315fbe9658;hb=3d71e838902b0b6f5321484ca965c1cd888fb91e;hpb=d8e380e8314cdb592149a651a19690d102a1865b diff --git a/src/compress_serial.c b/src/compress_serial.c index 35470ec5..6bac63ec 100644 --- a/src/compress_serial.c +++ b/src/compress_serial.c @@ -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;