diff --git a/src/dsp/lossless_enc.c b/src/dsp/lossless_enc.c index f4d1967e..5bad055e 100644 --- a/src/dsp/lossless_enc.c +++ b/src/dsp/lossless_enc.c @@ -1150,11 +1150,11 @@ static VP8LStreaks HuffmanCostCombinedCount(const uint32_t* X, const uint32_t xy = X[i] + Y[i]; ++streak; if (xy != xy_prev) { - stats.counts[xy != 0] += (streak > 3); - stats.streaks[xy != 0][(streak > 3)] += streak; - streak = 0; + stats.counts[xy != 0] += (streak > 3); + stats.streaks[xy != 0][(streak > 3)] += streak; + streak = 0; xy_prev = xy; - } + } } return stats; } diff --git a/src/dsp/lossless_enc_mips32.c b/src/dsp/lossless_enc_mips32.c index c4cdd908..8ae5958c 100644 --- a/src/dsp/lossless_enc_mips32.c +++ b/src/dsp/lossless_enc_mips32.c @@ -259,7 +259,7 @@ static VP8LStreaks HuffmanCostCombinedCount(const uint32_t* X, HUFFMAN_COST_PASS streak = 0; xy_prev = xy; - } + } } return stats; }