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