| Index: third_party/libwebp/dec/alpha.c
|
| diff --git a/third_party/libwebp/dec/alpha.c b/third_party/libwebp/dec/alpha.c
|
| index 028eb3d50ba4a32a2aeb35a96aaee4821fc0d53d..d88f01d8de875a67139e915435eb391b35eaf988 100644
|
| --- a/third_party/libwebp/dec/alpha.c
|
| +++ b/third_party/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 ||
|
|
|