From 596dff784d37bf69d28f6cd2ffaaab6a6ea47ccc Mon Sep 17 00:00:00 2001 From: James Zern Date: Sat, 14 Jul 2012 13:20:26 -0700 Subject: [PATCH] VP8LFillBitWindow: use 64-bit path for msvc x64 builds Change-Id: I14a3865f4091dd048e02abc99aa4e7f1e325e12a --- src/utils/bit_reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/bit_reader.c b/src/utils/bit_reader.c index 7ff0efb6..1afb1db8 100644 --- a/src/utils/bit_reader.c +++ b/src/utils/bit_reader.c @@ -146,7 +146,7 @@ static void ShiftBytes(VP8LBitReader* const br) { void VP8LFillBitWindow(VP8LBitReader* const br) { if (br->bit_pos_ >= 32) { -#if defined(__x86_64__) +#if defined(__x86_64__) || defined(_M_X64) if (br->pos_ + 8 < br->len_) { br->val_ >>= 32; // The expression below needs a little-endian arch to work correctly.