X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fextract.c;h=fbe5458df1e3cff8af025e030e7cf05cf8c66b52;hp=549c92f7d1ec7b0df10e967609d26db31a2fc125;hb=8e5d4209c12a7436488d9a3d1f8d59383c5c48f2;hpb=f24f8409b041727329e980fdc81e84a7c9b00e5b diff --git a/src/extract.c b/src/extract.c index 549c92f7..fbe5458d 100644 --- a/src/extract.c +++ b/src/extract.c @@ -1365,6 +1365,9 @@ read_pwm_stream_header(WIMStruct *pwm, struct wim_lookup_table_entry *lte, reshdr.uncompressed_size = le64_to_cpu(buf.stream_hdr.uncompressed_size); wim_res_hdr_to_spec(&reshdr, pwm, rspec); lte_bind_wim_resource_spec(lte, rspec); + lte->flags = rspec->flags; + lte->size = rspec->uncompressed_size; + lte->offset_in_res = 0; return 0; read_error: