mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-28 06:43:18 +01:00
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:
parent
0339fa26eb
commit
bbbc524fb4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user