[FFmpeg-cvslog] r12480 - trunk/libavcodec/rectangle.h

mru subversion
Tue Mar 18 00:08:14 CET 2008


Author: mru
Date: Tue Mar 18 00:08:14 2008
New Revision: 12480

Log:
use HAVE_FAST_64BIT


Modified:
   trunk/libavcodec/rectangle.h

Modified: trunk/libavcodec/rectangle.h
==============================================================================
--- trunk/libavcodec/rectangle.h	(original)
+++ trunk/libavcodec/rectangle.h	Tue Mar 18 00:08:14 2008
@@ -64,7 +64,7 @@ static av_always_inline void fill_rectan
         *(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;




More information about the ffmpeg-cvslog mailing list