aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/intmath.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-08-21 00:36:16 +0200
committerDiego Biurrun <diego@biurrun.de>2012-08-22 01:02:18 +0200
commit66baa45801e46a6558c22765cdac1e7a4abad228 (patch)
tree4b2c95d2726ac31e9fe8d6ae8f2e2c98d938aa6a /libavutil/intmath.h
parent4264a0dd54420182ce0d083b308452739311edaa (diff)
downloadffmpeg-66baa45801e46a6558c22765cdac1e7a4abad228.tar.gz
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.
Diffstat (limited to 'libavutil/intmath.h')
-rw-r--r--libavutil/intmath.h6
1 files changed, 1 insertions, 5 deletions
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"