diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2016-12-28 23:17:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-28 23:17:42 +0100 |
| commit | 86e428eea0b9ef5c1732af3a5c29b5c365fbf6e8 (patch) | |
| tree | 847c3a15508aea33384ad9a93e915c268f379ce1 /thirdparty/libwebp/dsp/dec.c | |
| parent | c798ff15510997fdbe6848687804f5e2cb17eefb (diff) | |
| parent | e04c7e11ec2fabf34aaf515103bc0b6086e1aabd (diff) | |
Merge pull request #7350 from volzhs/webp-0.5.2
Update libwebp to 0.5.2
Diffstat (limited to 'thirdparty/libwebp/dsp/dec.c')
| -rw-r--r-- | thirdparty/libwebp/dsp/dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/libwebp/dsp/dec.c b/thirdparty/libwebp/dsp/dec.c index e92d693362..49bd16d976 100644 --- a/thirdparty/libwebp/dsp/dec.c +++ b/thirdparty/libwebp/dsp/dec.c @@ -239,7 +239,7 @@ VP8PredFunc VP8PredLuma16[NUM_B_DC_MODES]; //------------------------------------------------------------------------------ // 4x4 -#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) { // vertical |