]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/simple_idct.c
Fix a typo in the documentation.
[ffmpeg] / libavcodec / simple_idct.c
index 2cf9e8de98d14728c0d1b33d6b7d7762727d529a..6670740bf3d9d5055b20585a84f064ff5c2a0bc3 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 /**
- * @file simple_idct.c
+ * @file libavcodec/simple_idct.c
  * simpleidct in C.
  */
 
 static inline void idctRowCondDC (DCTELEM * row)
 {
         int a0, a1, a2, a3, b0, b1, b2, b3;
-#ifdef HAVE_FAST_64BIT
+#if HAVE_FAST_64BIT
         uint64_t temp;
 #else
         uint32_t temp;
 #endif
 
-#ifdef HAVE_FAST_64BIT
-#ifdef WORDS_BIGENDIAN
+#if HAVE_FAST_64BIT
+#if HAVE_BIGENDIAN
 #define ROW0_MASK 0xffff000000000000LL
 #else
 #define ROW0_MASK 0xffffLL
@@ -127,7 +127,7 @@ static inline void idctRowCondDC (DCTELEM * row)
         b3 = MUL16(W7, row[1]);
         MAC16(b3, -W5, row[3]);
 
-#ifdef HAVE_FAST_64BIT
+#if HAVE_FAST_64BIT
         temp = ((uint64_t*)row)[1];
 #else
         temp = ((uint32_t*)row)[2] | ((uint32_t*)row)[3];