From 0f0d6289d52c5d9a326978ffa9937c79f175fcba Mon Sep 17 00:00:00 2001 From: squall-leonhart Date: Mon, 1 Apr 2013 05:45:42 +0000 Subject: [PATCH] revert the > to >> change, fixes regression in loading ppmd 7z files. --- fex/7z_C/Ppmd7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fex/7z_C/Ppmd7.c b/fex/7z_C/Ppmd7.c index fecaf66e..4b160cf0 100644 --- a/fex/7z_C/Ppmd7.c +++ b/fex/7z_C/Ppmd7.c @@ -542,7 +542,7 @@ static void UpdateModel(CPpmd7 *p) s->Freq <<= 1; else s->Freq = MAX_FREQ - 4; - c->SummFreq = (UInt16)(s->Freq + p->InitEsc + (ns >> 3)); + c->SummFreq = (UInt16)(s->Freq + p->InitEsc + (ns > 3)); } cf = 2 * (UInt32)p->FoundState->Freq * (c->SummFreq + 6); sf = (UInt32)s0 + c->SummFreq;