summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/intmath.c5
-rw-r--r--libavutil/intmath.h14
2 files changed, 6 insertions, 13 deletions
diff --git a/libavutil/intmath.c b/libavutil/intmath.c
index 1f725c741f..b0c00e1cad 100644
--- a/libavutil/intmath.c
+++ b/libavutil/intmath.c
@@ -32,8 +32,3 @@ int av_log2_16bit(unsigned v)
{
return ff_log2_16bit(v);
}
-
-int av_ctz(int v)
-{
- return ff_ctz(v);
-}
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 */