remove unneeded reference to NUM_LITERAL_CODES

Change-Id: I3e98acce3a69fa45054ffcf77644fcbbc04bd366
This commit is contained in:
Pascal Massimino 2012-04-24 09:35:49 +00:00 committed by James Zern
parent 8979675bdf
commit b38dfccf8d

View File

@ -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.