Skip to content

Commit 3135c12

Browse files
committed
Revert commit b8dfcde
1 parent b137934 commit 3135c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/entropy/TPAQPredictor.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ namespace kanzi
433433
if (_binCount < (_pos >> 2)) {
434434
// Mostly text or mixed
435435
_ctx4 = createContext(_ctx1, _c4 ^ (_c8 & 0xFFFF));
436-
_ctx5 = (_c8 & 0xF0F0F000) | ((_c4 >> 4) & 0x0F0F0F00);
436+
_ctx5 = (_c8 & 0xF0F0F000) | ((_c4 & 0xF0F0F000) >> 4);
437437

438438
if (T == true) {
439439
const uint h1 = ((_c4 & 0x80808080) == 0) ? _c4 & 0x4F4FFFFF : _c4 & 0x80808080;

0 commit comments

Comments
 (0)