mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-28 14:38:21 +01:00
remove unneeded reference to NUM_LITERAL_CODES
Change-Id: I3e98acce3a69fa45054ffcf77644fcbbc04bd366
This commit is contained in:
parent
8979675bdf
commit
b38dfccf8d
@ -43,7 +43,7 @@ static WEBP_INLINE uint32_t Average4(uint32_t a0, uint32_t a1,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static WEBP_INLINE uint32_t Clip255(uint32_t a) {
|
static WEBP_INLINE uint32_t Clip255(uint32_t a) {
|
||||||
if (a < NUM_LITERAL_CODES) {
|
if (a < 256) {
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
// return 0, when a is a negative integer.
|
// return 0, when a is a negative integer.
|
||||||
|
Loading…
Reference in New Issue
Block a user