dec/vp8: clear 'dither_' on skipped blocks

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

(cherry picked from commit 66935fb9ee7a8fc4f59dd91fec34c03d4318784c)

Change-Id: I0f698b81854ee9d91edacb51c1e3bdab9cba96f2
This commit is contained in:
James Zern 2015-02-02 19:28:34 -08:00
parent 0339fa26eb
commit bbbc524fb4

View File

@ -562,6 +562,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