summaryrefslogtreecommitdiffstats
path: root/libavcodec/mathops.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-04 13:37:58 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-04 13:38:04 +0100
commit8cc581fbf77ac25deb9eb9398cf4c759857aaeaa (patch)
treeef3fd07d5f9cce27727c7e3b11ebbcf890630b9d /libavcodec/mathops.h
parentd63b032d64e96f108c1524514898eafb4144e183 (diff)
parent5397386effba2e53e4ff82852a86f6be4d59e9c1 (diff)
downloadffmpeg-streaming-8cc581fbf77ac25deb9eb9398cf4c759857aaeaa.zip
ffmpeg-streaming-8cc581fbf77ac25deb9eb9398cf4c759857aaeaa.tar.gz
Merge commit '5397386effba2e53e4ff82852a86f6be4d59e9c1'
* commit '5397386effba2e53e4ff82852a86f6be4d59e9c1': mathops: move macro to the only place it is used Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mathops.h')
-rw-r--r--libavcodec/mathops.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/mathops.h b/libavcodec/mathops.h
index bad25af..cc8ce55 100644
--- a/libavcodec/mathops.h
+++ b/libavcodec/mathops.h
@@ -195,15 +195,6 @@ if ((y) < (x)) {\
# define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32))
#endif /* FASTDIV */
-#ifndef MOD_UNLIKELY
-# define MOD_UNLIKELY(modulus, dividend, divisor, prev_dividend) \
- do { \
- if ((prev_dividend) == 0 || (dividend) - (prev_dividend) != (divisor)) \
- (modulus) = (dividend) % (divisor); \
- (prev_dividend) = (dividend); \
- } while (0)
-#endif
-
static inline av_const unsigned int ff_sqrt(unsigned int a)
{
unsigned int b;
OpenPOWER on IntegriCloud