Cache compression type in WIMStruct and wim_lookup_table_entry
[wimlib] / src / resource.c
index f37b8958300e6cd024a8882f559ed0d043781926..84d4441bb26add7738f25cee44b3af044e97e145 100644 (file)
@@ -460,7 +460,7 @@ read_partial_wim_resource(const struct wim_lookup_table_entry *lte,
                                               lte->resource_entry.size,
                                               lte->resource_entry.original_size,
                                               lte->resource_entry.offset,
-                                              wimlib_get_compression_type(wim),
+                                              wim->compression_type,
                                               size,
                                               offset,
                                               cb,