Fix mingw build error
Fixes an issue where newer versions of GCC would try to compile the visual studio inline assembly. Fixes issue #571 Change-Id: I8e4500a9277447fdab0b55e5efa1f24ca97bdc03
This commit is contained in:
parent
6ad061de58
commit
98ca829f57
2
third_party/libyuv/source/scale.c
vendored
2
third_party/libyuv/source/scale.c
vendored
@ -632,7 +632,7 @@ TALIGN16(const uint16, scaleab2[8]) =
|
||||
{ 65536 / 3, 65536 / 3, 65536 / 2, 65536 / 3, 65536 / 3, 65536 / 2, 0, 0 };
|
||||
#endif
|
||||
|
||||
#if defined(_M_IX86) && !defined(YUV_DISABLE_ASM)
|
||||
#if defined(_M_IX86) && !defined(YUV_DISABLE_ASM) && defined(_MSC_VER)
|
||||
|
||||
#define HAS_SCALEROWDOWN2_SSE2
|
||||
// Reads 32 pixels, throws half away and writes 16 pixels.
|
||||
|
Loading…
x
Reference in New Issue
Block a user