This is to prevent potential overflow. Change-Id: I9d21cfe790ba975bd5e117b025ea4d9deaeae4ab
BUG=webp:277 Change-Id: I2c0e1df7b13b1f77474b5478048fef022e90f77a