From 2e874c77041773ff95286c1f31a7696c786d12eb Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Wed, 7 Jul 2010 17:27:39 +0000 Subject: intmath: whitespace cosmetics Originally committed as revision 24085 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/intmath.h | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'libavutil') 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 */ /* -- cgit v1.2.3