mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-25 13:18:22 +01:00
fix the BITS=8 case
spotted by Måns Rullgård (mans at mansr dot com) Change-Id: I4720dc2eeb645af894e396739be6fa11b5fe2739
This commit is contained in:
parent
f6c096aad3
commit
12f78aec48
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user