summaryrefslogtreecommitdiffstats
path: root/libavcodec/rectangle.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-03-17 23:08:14 +0000
committerMåns Rullgård <mans@mansr.com>2008-03-17 23:08:14 +0000
commita62a1c315250cd71d724395beb0273564ed472e8 (patch)
tree0f502aec82b0fe58682ba057cd70519ebc130fed /libavcodec/rectangle.h
parentea68e334692e2d816eba7bf450431739d674dbae (diff)
downloadffmpeg-streaming-a62a1c315250cd71d724395beb0273564ed472e8.zip
ffmpeg-streaming-a62a1c315250cd71d724395beb0273564ed472e8.tar.gz
use HAVE_FAST_64BIT
Originally committed as revision 12480 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rectangle.h')
-rw-r--r--libavcodec/rectangle.h2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud