mirror of
https://github.com/xavo95/repak.git
synced 2025-01-18 19:04:07 +00:00
Fix v8 footer size
This commit is contained in:
parent
46e2ced47e
commit
232e6f2a8c
1 changed files with 2 additions and 6 deletions
|
@ -50,12 +50,8 @@ impl Version {
|
||||||
size += 1;
|
size += 1;
|
||||||
}
|
}
|
||||||
if self >= Version::FNameBasedCompression {
|
if self >= Version::FNameBasedCompression {
|
||||||
// compression names: [[u8; 32]; 4]
|
// compression names: [[u8; 32]; 5]
|
||||||
size += 32 * 4;
|
size += 32 * 5;
|
||||||
}
|
|
||||||
if self >= Version::FrozenIndex {
|
|
||||||
// extra compression name: [u8; 32]
|
|
||||||
size += 32
|
|
||||||
}
|
}
|
||||||
size
|
size
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue