blob: 1036ecf583db704f13dda6e5ebc54771c6e477d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Reference: https://github.com/lucianpls/QB3/pull/27
--- QB3lib/QB3encode.cpp.orig 2025-04-28 20:58:34 UTC
+++ QB3lib/QB3encode.cpp
@@ -84,7 +84,7 @@ void qb3_set_encoder_stride(encsp p, size_t stride) {
// Valid values are 2 and above
// sign = true when the input data is signed
// away = true to round away from zero
-bool qb3_set_encoder_quanta(encsp p, size_t q, bool away) {
+bool qb3_set_encoder_quanta(encsp p, uint64_t q, bool away) {
if (q < 1)
return false;
p->quanta = q;
|