michael@0: diff --git a/gfx/ycbcr/yuv_convert.cpp b/gfx/ycbcr/yuv_convert.cpp michael@0: --- a/gfx/ycbcr/yuv_convert.cpp michael@0: +++ b/gfx/ycbcr/yuv_convert.cpp michael@0: @@ -337,16 +337,17 @@ NS_GFX_(void) ScaleYCbCrToRGB32(const ui michael@0: source_dx_uv >> kFractionBits); michael@0: } michael@0: } michael@0: else { michael@0: ScaleYUVToRGB32Row_C(y_ptr, u_ptr, v_ptr, michael@0: dest_pixel, width, source_dx); michael@0: } michael@0: #else michael@0: + (void)source_dx_uv; michael@0: ScaleYUVToRGB32Row(y_ptr, u_ptr, v_ptr, michael@0: dest_pixel, width, source_dx); michael@0: #endif michael@0: } michael@0: } michael@0: // MMX used for FastConvertYUVToRGB32Row and FilterRows requires emms. michael@0: if (has_mmx) michael@0: EMMS(); michael@0: diff --git a/gfx/ycbcr/yuv_row.h b/gfx/ycbcr/yuv_row.h michael@0: --- a/gfx/ycbcr/yuv_row.h michael@0: +++ b/gfx/ycbcr/yuv_row.h michael@0: @@ -129,14 +129,14 @@ extern SIMD_ALIGNED(int16 kCoefficientsR michael@0: #if defined(ARCH_CPU_X86) && !defined(ARCH_CPU_X86_64) michael@0: #if defined(_MSC_VER) michael@0: #define EMMS() __asm emms michael@0: #pragma warning(disable: 4799) michael@0: #else michael@0: #define EMMS() asm("emms") michael@0: #endif michael@0: #else michael@0: -#define EMMS() michael@0: +#define EMMS() ((void)0) michael@0: #endif michael@0: michael@0: } // extern "C" michael@0: michael@0: #endif // MEDIA_BASE_YUV_ROW_H_