Browse Source

dsputil: Replace a LONG_MAX check with HAVE_FAST_64BIT.

tags/n0.9
Alex Converse 14 years ago
parent
commit
d9a9f50a36
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dsputil.c

+ 1
- 1
libavcodec/dsputil.c View File

@@ -185,7 +185,7 @@ static int pix_norm1_c(uint8_t * pix, int line_size)
s += sq[pix[6]]; s += sq[pix[6]];
s += sq[pix[7]]; s += sq[pix[7]];
#else #else
#if LONG_MAX > 2147483647
#if HAVE_FAST_64BIT
register uint64_t x=*(uint64_t*)pix; register uint64_t x=*(uint64_t*)pix;
s += sq[x&0xff]; s += sq[x&0xff];
s += sq[(x>>8)&0xff]; s += sq[(x>>8)&0xff];


Loading…
Cancel
Save