| Index: third_party/libwebp/dsp/enc.c
|
| diff --git a/third_party/libwebp/dsp/enc.c b/third_party/libwebp/dsp/enc.c
|
| index f639f5570c436bc6b914376ab93fe786aa1083fb..db0e9e70ae74ffa3c3f92c2c93809b36e29c1583 100644
|
| --- a/third_party/libwebp/dsp/enc.c
|
| +++ b/third_party/libwebp/dsp/enc.c
|
| @@ -335,7 +335,7 @@ static void Intra16Preds(uint8_t* dst,
|
| // luma 4x4 prediction
|
|
|
| #define DST(x, y) dst[(x) + (y) * BPS]
|
| -#define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2)
|
| +#define AVG3(a, b, c) ((uint8_t)(((a) + 2 * (b) + (c) + 2) >> 2))
|
| #define AVG2(a, b) (((a) + (b) + 1) >> 1)
|
|
|
| static void VE4(uint8_t* dst, const uint8_t* top) { // vertical
|
|
|