mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-19 04:02:09 +01:00
Code cleanup
This commit is contained in:
parent
94e2d58805
commit
7fe82b12fe
@ -67,16 +67,15 @@ quint32 HuffmanTable::symbol(quint32 data, quint8 &size) const
|
||||
tp = _bsrchTable + (m * _bsrchEntryBytes);
|
||||
quint32 nd = readVUint32(tp, _symBytes);
|
||||
|
||||
if (data <= nd) {
|
||||
if (data == nd)
|
||||
lo = m;
|
||||
else
|
||||
if (data < nd) {
|
||||
tp = prev;
|
||||
|
||||
hi = m - (data < nd);
|
||||
m = lo;
|
||||
}
|
||||
hi = m - 1;
|
||||
} else if (data > nd) {
|
||||
lo = m;
|
||||
} else {
|
||||
lo = m;
|
||||
hi = m;
|
||||
}
|
||||
}
|
||||
|
||||
quint32 i = readVUint32(tp, _symBytes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user