diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-01 13:01:43 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-04 11:45:31 +0100 |
commit | 5397386effba2e53e4ff82852a86f6be4d59e9c1 (patch) | |
tree | c6a1f3a2b99d3e8292dcd64e2e333484232320f7 /libavcodec/mathops.h | |
parent | 61b323ce7c7cdc101eadfd7de2203922b8a39e8d (diff) | |
download | ffmpeg-5397386effba2e53e4ff82852a86f6be4d59e9c1.tar.gz |
mathops: move macro to the only place it is used
This helps in disentangling lavf and lavc too.
Diffstat (limited to 'libavcodec/mathops.h')
-rw-r--r-- | libavcodec/mathops.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/mathops.h b/libavcodec/mathops.h index 6c216c25dc..0489a602c3 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; |