From: Eric Biggers Date: Tue, 24 Dec 2013 01:37:37 +0000 (-0600) Subject: read_lookup_table(): Ignore PACKED_STREAMS flag if default WIM version X-Git-Tag: v1.6.0~121 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=90c19e287d02a962876f74e560812e75f370dbf7;hp=a6e50e8eb32035d44c94fd63bfae6c3de7481055 read_lookup_table(): Ignore PACKED_STREAMS flag if default WIM version --- diff --git a/src/lookup_table.c b/src/lookup_table.c index 0538dd05..b1e86828 100644 --- a/src/lookup_table.c +++ b/src/lookup_table.c @@ -578,6 +578,9 @@ read_wim_lookup_table(WIMStruct *wim) reshdr.size_in_wim, reshdr.uncompressed_size, reshdr.offset_in_wim, reshdr.flags); + if (wim->hdr.wim_version == WIM_VERSION_DEFAULT) + reshdr.flags &= ~WIM_RESHDR_FLAG_PACKED_STREAMS; + cur_entry = new_lookup_table_entry(); if (cur_entry == NULL) { ERROR("Not enough memory to read lookup table!");