Fix UV plane ac/dc quantizer transposition

Typo caused incorrect quantizer to be used for UV blocks.

Change-Id: I26faad370a16ea5b35ae49396d17b8903602499e
This commit is contained in:
Pascal Massimino 2010-10-14 20:33:43 -04:00 committed by John Koleszar
parent c8d15efa12
commit 5981ee55ce

View File

@ -98,8 +98,8 @@ void VP8ParseQuant(VP8Decoder* const dec) {
m->y2_mat_[1] = kAcTable[clip(q + dqy2_ac, 127)] * 155 / 100;
if (m->y2_mat_[1] < 8) m->y2_mat_[1] = 8;
m->uv_mat_[0] = kDcTable[clip(q + dquv_ac, 117)];
m->uv_mat_[1] = kAcTable[clip(q + dquv_dc, 127)];
m->uv_mat_[0] = kDcTable[clip(q + dquv_dc, 117)];
m->uv_mat_[1] = kAcTable[clip(q + dquv_ac, 127)];
}
}
}