From a62a1c315250cd71d724395beb0273564ed472e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Mon, 17 Mar 2008 23:08:14 +0000 Subject: [PATCH] use HAVE_FAST_64BIT Originally committed as revision 12480 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rectangle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/rectangle.h b/libavcodec/rectangle.h index 4dd9028..e138862 100644 --- a/libavcodec/rectangle.h +++ b/libavcodec/rectangle.h @@ -64,7 +64,7 @@ static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride, *(uint32_t*)(p + 3*stride)= v; }else if(w==8){ //gcc can't optimize 64bit math on x86_32 -#if defined(ARCH_X86_64) || (defined(MP_WORDSIZE) && MP_WORDSIZE >= 64) +#ifdef HAVE_FAST_64BIT const uint64_t v= val*0x0100000001ULL; *(uint64_t*)(p + 0*stride)= v; if(h==1) return; -- 2.7.4