Regression fix for alpha unfiltering:
For vertical filter, correctly initialize 'preds' when not starting at row 0. Change-Id: I69697d73dde8a2f701f376ff3986d09fa6f7fee3
This commit is contained in:
parent
a368db81c6
commit
c8f9c84d5e
@ -112,6 +112,9 @@ static WEBP_INLINE void DoVerticalFilter(const uint8_t* in,
|
||||
row = 1;
|
||||
in += stride;
|
||||
out += stride;
|
||||
} else {
|
||||
// We are starting from in-between. Make sure 'preds' points to prev row.
|
||||
preds -= stride;
|
||||
}
|
||||
|
||||
// Filter line-by-line.
|
||||
|
Loading…
Reference in New Issue
Block a user