patch-media_libyuv_source_scale_mips_cc 572 B

123456789101112
  1. --- firefox-49.0.2.orig/media/libyuv/source/scale_mips.cc 2016-05-12 19:13:17.000000000 +0200
  2. +++ firefox-49.0.2/media/libyuv/source/scale_mips.cc 2016-11-11 18:23:07.984306408 +0100
  3. @@ -18,7 +18,8 @@ extern "C" {
  4. // This module is for GCC MIPS DSPR2
  5. #if !defined(LIBYUV_DISABLE_MIPS) && \
  6. - defined(__mips_dsp) && (__mips_dsp_rev >= 2)
  7. + defined(__mips_dsp) && (__mips_dsp_rev >= 2) && \
  8. + (_MIPS_SIM == _MIPS_SIM_ABI32)
  9. void ScaleRowDown2_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride,
  10. uint8* dst, int dst_width) {