Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-07-19 04:48:45 +0400
committerAlex Converse <alex.converse@gmail.com>2011-07-20 21:15:57 +0400
commitd9a9f50a3683b577e9c391ce8cab9edc9b239fcb (patch)
tree875bf64534ad56d82c978aa305edbd52fdc9579a /libavcodec
parente7a972e113ddf3271c4c0e01a2d57e23ac5195f1 (diff)
dsputil: Replace a LONG_MAX check with HAVE_FAST_64BIT.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dsputil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 4b26f68387..457495f07e 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -185,7 +185,7 @@ static int pix_norm1_c(uint8_t * pix, int line_size)
s += sq[pix[6]];
s += sq[pix[7]];
#else
-#if LONG_MAX > 2147483647
+#if HAVE_FAST_64BIT
register uint64_t x=*(uint64_t*)pix;
s += sq[x&0xff];
s += sq[(x>>8)&0xff];