X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Flookup_table.c;h=b1e868281d9cca81f687f6836704409fa2cedf37;hb=5eaadbe09039fd336b265423682a6ce322c45c6e;hp=0538dd050c9c4e991ae74be48f596e7aa3233043;hpb=e176e9731e696562bab8de7b9bd34c019deef3e8;p=wimlib 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!");