mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-28 23:52:56 +01:00
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;
|
row = 1;
|
||||||
in += stride;
|
in += stride;
|
||||||
out += stride;
|
out += stride;
|
||||||
|
} else {
|
||||||
|
// We are starting from in-between. Make sure 'preds' points to prev row.
|
||||||
|
preds -= stride;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Filter line-by-line.
|
// Filter line-by-line.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user