summaryrefslogtreecommitdiffstats
path: root/thirdparty/libwebp/dec/alpha.c
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2016-12-22 09:54:15 +0900
committervolzhs <volzhs@gmail.com>2016-12-24 00:46:09 +0900
commite04c7e11ec2fabf34aaf515103bc0b6086e1aabd (patch)
tree7e8e1947eb71efe8bf45632610ee2776c9ef0b3e /thirdparty/libwebp/dec/alpha.c
parent2c8a1729152f5bcb1cb81d24b1e642634bff7174 (diff)
downloadredot-engine-e04c7e11ec2fabf34aaf515103bc0b6086e1aabd.tar.gz
Update libwebp to 0.5.2
Diffstat (limited to 'thirdparty/libwebp/dec/alpha.c')
-rw-r--r--thirdparty/libwebp/dec/alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/libwebp/dec/alpha.c b/thirdparty/libwebp/dec/alpha.c
index 028eb3d50b..d88f01d8de 100644
--- a/thirdparty/libwebp/dec/alpha.c
+++ b/thirdparty/libwebp/dec/alpha.c
@@ -67,7 +67,7 @@ static int ALPHInit(ALPHDecoder* const dec, const uint8_t* data,
}
dec->method_ = (data[0] >> 0) & 0x03;
- dec->filter_ = (data[0] >> 2) & 0x03;
+ dec->filter_ = (WEBP_FILTER_TYPE)((data[0] >> 2) & 0x03);
dec->pre_processing_ = (data[0] >> 4) & 0x03;
rsrv = (data[0] >> 6) & 0x03;
if (dec->method_ < ALPHA_NO_COMPRESSION ||