Merge "fix the BITS=8 case"

This commit is contained in:
Pascal Massimino 2012-09-03 02:36:03 -07:00 committed by Gerrit Code Review
commit 2cf1f81590

View File

@ -93,6 +93,8 @@ static WEBP_INLINE void VP8LoadNewBytes(VP8BitReader* const br) {
#elif (BITS == 16)
// gcc will recognize a 'rorw $8, ...' here:
bits = (bit_t)(in_bits >> 8) | ((in_bits & 0xff) << 8);
#else // BITS == 8
bits = (bit_t)in_bits;
#endif
#else // LITTLE_ENDIAN
bits = (bit_t)in_bits;