fix missed optim

it's not often the case, but could happen, that chroma has non-zero
coeff but luma hasn't. In such case, we should skip luma right away

Change-Id: I9515573ffaec8aad8b069d2c02ffbda4a6eff97c
This commit is contained in:
skal 2013-04-25 22:46:12 +02:00
parent 00046171a5
commit 878b9da5bf

View File

@ -626,7 +626,7 @@ void VP8ReconstructBlock(VP8Decoder* const dec) {
} else { // 16x16
const int pred_func = CheckMode(dec->mb_x_, dec->mb_y_, dec->imodes_[0]);
VP8PredLuma16[pred_func](y_dst);
if (dec->non_zero_) {
if (dec->non_zero_ & 0xffff) {
for (n = 0; n < 16; n++) {
uint8_t* const dst = y_dst + kScan[n];
if (dec->non_zero_ac_ & (1 << n)) {