cosmetics: add missing const

Change-Id: I0c0e89bbe826961b02a40ada5a6f89e02abee378
This commit is contained in:
James Zern 2012-06-19 22:28:34 -07:00
parent 5b08318b57
commit 69d022176d

View File

@ -139,7 +139,7 @@ static WEBP_INLINE int PlaneCodeToDistance(int xsize, int plane_code) {
const int dist_code = code_to_plane_lut[plane_code - 1];
const int yoffset = dist_code >> 4;
const int xoffset = 8 - (dist_code & 0xf);
int dist = yoffset * xsize + xoffset;
const int dist = yoffset * xsize + xoffset;
return (dist >= 1) ? dist : 1;
}
}