summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-media_libyuv_source_rotate_mips_cc
blob: f8d8ab6e3dc4263e5509534774fe79b189c0e3bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- firefox-49.0.2.orig/media/libyuv/source/rotate_mips.cc	2016-05-12 19:13:17.000000000 +0200
+++ firefox-49.0.2/media/libyuv/source/rotate_mips.cc	2016-11-11 18:20:57.559265197 +0100
@@ -18,7 +18,8 @@ extern "C" {
 #endif
 
 #if !defined(LIBYUV_DISABLE_MIPS) && \
-    defined(__mips_dsp) && (__mips_dsp_rev >= 2)
+    defined(__mips_dsp) && (__mips_dsp_rev >= 2) && \
+    (_MIPS_SIM == _MIPS_SIM_ABI32)
 
 void TransposeWx8_MIPS_DSPR2(const uint8* src, int src_stride,
                              uint8* dst, int dst_stride,