diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-10-11 17:43:29 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-10-11 18:03:10 -0400 |
commit | 93866c2aa2514649622ae32b6cacaf62473a9e20 (patch) | |
tree | 052620931788381dc191d3d2bc120eed71468617 /libavutil/intmath.h | |
parent | 79f2014f1264aeb9dae3134d3649aba6ca0d4d13 (diff) |
intmath: remove av_ctz.
It's a non-installed header and only used in one place (flacenc).
Since ff_ctz is static inline, it's fine to use that instead.
Diffstat (limited to 'libavutil/intmath.h')
-rw-r--r-- | libavutil/intmath.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libavutil/intmath.h b/libavutil/intmath.h index ec7286a539..802abe32b0 100644 --- a/libavutil/intmath.h +++ b/libavutil/intmath.h @@ -122,6 +122,12 @@ static av_always_inline av_const int ff_log2_16bit_c(unsigned int v) #ifndef ff_ctz #define ff_ctz ff_ctz_c +/** + * Trailing zero bit count. + * + * @param v input value. If v is 0, the result is undefined. + * @return the number of trailing 0-bits + */ #if !defined( _MSC_VER ) static av_always_inline av_const int ff_ctz_c(int v) { @@ -178,14 +184,6 @@ static av_always_inline av_const int ff_ctzll_c(long long v) #endif /** - * Trailing zero bit count. - * - * @param v input value. If v is 0, the result is undefined. - * @return the number of trailing 0-bits - */ -int av_ctz(int v); - -/** * @} */ #endif /* AVUTIL_INTMATH_H */ |