summaryrefslogtreecommitdiff
path: root/libavutil/intmath.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-07 17:27:39 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-07 17:27:39 +0000
commit2e874c77041773ff95286c1f31a7696c786d12eb (patch)
tree2a0354b9e75afa6e4eb2f2453591609d07d5b629 /libavutil/intmath.h
parent5c7ceef6546a6d8abc3006da0d38f0b7f59e5af8 (diff)
intmath: whitespace cosmetics
Originally committed as revision 24085 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/intmath.h')
-rw-r--r--libavutil/intmath.h23
1 files changed, 9 insertions, 14 deletions
diff --git a/libavutil/intmath.h b/libavutil/intmath.h
index 95ee1ff65c..7ba3afb913 100644
--- a/libavutil/intmath.h
+++ b/libavutil/intmath.h
@@ -36,25 +36,20 @@ extern const uint32_t ff_inverse[257];
#if HAVE_FAST_CLZ && AV_GCC_VERSION_AT_LEAST(3,4)
#ifndef av_log2
-
-#define av_log2(x) (31 - __builtin_clz((x)|1))
-
-#ifndef av_log2_16bit
-#define av_log2_16bit av_log2
-#endif
-
+# define av_log2(x) (31 - __builtin_clz((x)|1))
+# ifndef av_log2_16bit
+# define av_log2_16bit av_log2
+# endif
#endif /* av_log2 */
#endif /* AV_GCC_VERSION_AT_LEAST(3,4) */
#ifndef FASTDIV
-
-#if CONFIG_FASTDIV
-# define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32))
-#else
-# define FASTDIV(a,b) ((a) / (b))
-#endif
-
+# if CONFIG_FASTDIV
+# define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32))
+# else
+# define FASTDIV(a,b) ((a) / (b))
+# endif
#endif /* FASTDIV */
/*