diff options
author | James Zern <jzern@google.com> | 2022-03-04 15:26:21 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2022-03-08 19:36:29 +0000 |
commit | 9b1980bbc6878f447c61f65a6dbeaf6e567b606a (patch) | |
tree | 04b8d1cd832ab14bf0948ab4830a19b2c36416d7 | |
parent | a4797af7123abc38d13e496b285809b3b04dc04c (diff) | |
download | libwebp-9b1980bbc6878f447c61f65a6dbeaf6e567b606a.tar.gz |
alpha_processing_neon.c: fix 0x01... typo
one instance was overlong leading to a int64->uint32 conversion warning
Change-Id: I56d5ab75d89960c79293f62cd489d7ab519bbc34
(cherry picked from commit 03d12190552c3e95d31aa00303f28a8a2f813bdd)
-rw-r--r-- | src/dsp/alpha_processing_neon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dsp/alpha_processing_neon.c b/src/dsp/alpha_processing_neon.c index 408c4bf3..6716fb77 100644 --- a/src/dsp/alpha_processing_neon.c +++ b/src/dsp/alpha_processing_neon.c @@ -158,7 +158,7 @@ static int ExtractAlpha_NEON(const uint8_t* WEBP_RESTRICT argb, int argb_stride, alpha += alpha_stride; } vst1_u8((uint8_t*)tmp, mask8); - alpha_mask *= 0x0101010101; + alpha_mask *= 0x01010101; alpha_mask &= tmp[0]; alpha_mask &= tmp[1]; return (alpha_mask == 0xffffffffu); |