From 5e73cbb6d0ff8a8432a9caa53fcfeae7bc435a49 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 19 Jul 2014 21:32:18 -0400 Subject: [PATCH] Bug 1040168 - Unbreak WebRTC on more archs without SSE2 after bug 983504. r=gcp --- .../webrtc/trunk/webrtc/modules/desktop_capture/differ_block.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/webrtc/trunk/webrtc/modules/desktop_capture/differ_block.cc b/media/webrtc/trunk/webrtc/modules/desktop_capture/differ_block.cc index 3d1b229541a..a1cc93b3864 100644 --- a/media/webrtc/trunk/webrtc/modules/desktop_capture/differ_block.cc +++ b/media/webrtc/trunk/webrtc/modules/desktop_capture/differ_block.cc @@ -36,7 +36,7 @@ int BlockDifference(const uint8_t* image1, const uint8_t* image2, int stride) { static int (*diff_proc)(const uint8_t*, const uint8_t*, int) = NULL; if (!diff_proc) { -#if defined(ARCH_CPU_ARM_FAMILY) || defined(ARCH_CPU_MIPS_FAMILY) +#if !defined(WEBRTC_ARCH_X86_FAMILY) // For ARM and MIPS processors, always use C version. // TODO(hclam): Implement a NEON version. diff_proc = &BlockDifference_C;