ref: 039aab41cdc6b13cdc012b893ff5e663beb894bc
parent: 39041cf91b12841636bbc475351157e59623fad2
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Jan 12 12:00:18 EST 2025
brieflz: guard blz_putbits - it's not needed with BLZ_NO_LUT
--- a/3rd/brieflz/brieflz.c
+++ b/3rd/brieflz/brieflz.c
@@ -291,6 +291,7 @@
bs->tag = (bs->tag << 1) + bit;
}
+#if !defined(BLZ_NO_LUT)
static void
blz_putbits(struct blz_state *bs, unsigned long bits, int num)
{
@@ -318,6 +319,7 @@
bs->bits_left -= num;
}
+#endif
// Encode val using a universal code based on Elias gamma.
//