]> wimlib.net Git - wimlib/blobdiff - src/lzx-compress.c
Update LZMS match-choosing
[wimlib] / src / lzx-compress.c
index 25712476b7aa6241d0134d1617ec716ae96703b1..a4749d21c06e82649042c654db60b93b901db18b 100644 (file)
@@ -1199,7 +1199,8 @@ lzx_lz_get_matches_caching(struct lzx_compressor *ctx,
 }
 
 static u32
-lzx_get_prev_literal_cost(struct lzx_compressor *ctx)
+lzx_get_prev_literal_cost(struct lzx_compressor *ctx,
+                         struct lzx_lru_queue *queue)
 {
        return lzx_literal_cost(ctx->window[ctx->match_window_pos - 1],
                                &ctx->costs);