From 66baa45801e46a6558c22765cdac1e7a4abad228 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 21 Aug 2012 00:36:16 +0200 Subject: configure: Drop fastdiv option There is no point in having the user disable any fastdiv macros. Besides the condition implementation was broken and only disabled the C implementation, but no platform specific assembly versions. --- libavutil/intmath.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libavutil/intmath.h') diff --git a/libavutil/intmath.h b/libavutil/intmath.h index e6a2e102c4..1be96da933 100644 --- a/libavutil/intmath.h +++ b/libavutil/intmath.h @@ -50,11 +50,7 @@ extern const uint32_t ff_inverse[257]; #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 +# define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32)) #endif /* FASTDIV */ #include "common.h" -- cgit v1.2.3