summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2022-03-04 15:26:21 -0800
committerJames Zern <jzern@google.com>2022-03-08 19:37:04 +0000
commitb14eba6497de016188bd502c6c739b364dade4b3 (patch)
tree4853b94b10dc4d5759e1659ad4dbb5e7d3b6292e
parent9183ff2ef9403c144efb5349c6d12fb9a606031a (diff)
downloadlibwebp-b14eba6497de016188bd502c6c739b364dade4b3.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dsp/alpha_processing_neon.c b/src/dsp/alpha_processing_neon.c
index 50f08989..27d71750 100644
--- a/src/dsp/alpha_processing_neon.c
+++ b/src/dsp/alpha_processing_neon.c
@@ -157,7 +157,7 @@ static int ExtractAlpha_NEON(const uint8_t* 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);