mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
Merge "VP8LFillBitWindow: use 64-bit path for msvc x64 builds" into 0.2.0
This commit is contained in:
commit
6569cd7c88
@ -146,7 +146,7 @@ static void ShiftBytes(VP8LBitReader* const br) {
|
|||||||
|
|
||||||
void VP8LFillBitWindow(VP8LBitReader* const br) {
|
void VP8LFillBitWindow(VP8LBitReader* const br) {
|
||||||
if (br->bit_pos_ >= 32) {
|
if (br->bit_pos_ >= 32) {
|
||||||
#if defined(__x86_64__)
|
#if defined(__x86_64__) || defined(_M_X64)
|
||||||
if (br->pos_ + 8 < br->len_) {
|
if (br->pos_ + 8 < br->len_) {
|
||||||
br->val_ >>= 32;
|
br->val_ >>= 32;
|
||||||
// The expression below needs a little-endian arch to work correctly.
|
// The expression below needs a little-endian arch to work correctly.
|
||||||
|
Loading…
Reference in New Issue
Block a user