dec/vp8: clear 'dither_' on skipped blocks

DitherRow() only checks this value, not 'skip_' so previously it was
uninitialized for these blocks.

Change-Id: I0f698b81854ee9d91edacb51c1e3bdab9cba96f2
This commit is contained in:
James Zern 2015-02-02 19:28:34 -08:00
parent b7de794622
commit 66935fb9ee

View File

@ -556,6 +556,7 @@ int VP8DecodeMB(VP8Decoder* const dec, VP8BitReader* const token_br) {
}
block->non_zero_y_ = 0;
block->non_zero_uv_ = 0;
block->dither_ = 0;
}
if (dec->filter_type_ > 0) { // store filter info