X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Flookup_table.c;h=98433ae0af664f37a2425108426a68ef67a1cf85;hp=4ad48bebb1ea207b5e077db079c1fa6c16d6228d;hb=2254a0fc3f1d7af1151ee83f3458f44339b5028b;hpb=2159b8808998d2a75380ef6339147e48a39e3bae diff --git a/src/lookup_table.c b/src/lookup_table.c index 4ad48beb..98433ae0 100644 --- a/src/lookup_table.c +++ b/src/lookup_table.c @@ -678,7 +678,8 @@ static int write_wim_lookup_table_from_stream_list(struct list_head *stream_list, struct filedes *out_fd, struct resource_entry *out_res_entry, - int write_resource_flags) + int write_resource_flags, + struct wimlib_lzx_context **comp_ctx) { size_t table_size; struct wim_lookup_table_entry *lte; @@ -712,7 +713,8 @@ write_wim_lookup_table_from_stream_list(struct list_head *stream_list, WIMLIB_COMPRESSION_TYPE_NONE, out_res_entry, NULL, - write_resource_flags); + write_resource_flags, + comp_ctx); FREE(table_buf); return ret; } @@ -803,7 +805,8 @@ write_wim_lookup_table(WIMStruct *wim, int image, int write_flags, return write_wim_lookup_table_from_stream_list(stream_list, &wim->out_fd, out_res_entry, - write_resource_flags); + write_resource_flags, + &wim->lzx_context); }