mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 05:38:22 +01:00
cosmetics: add missing const
Change-Id: I0c0e89bbe826961b02a40ada5a6f89e02abee378
This commit is contained in:
parent
5b08318b57
commit
69d022176d
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user