Skip to content

Commit e81dd26

Browse files
committed
fixed compilation under uclibc: missed fmin
Signed-off-by: Andriy Prystupa <andriy.prystupa@globallogic.com>
1 parent 2bd5dfb commit e81dd26

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

configure

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,6 @@ MATH_FUNCS="
16681668
exp2
16691669
exp2f
16701670
expf
1671-
fminf
16721671
isinf
16731672
isnan
16741673
ldexpf
@@ -4782,7 +4781,6 @@ disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersi
47824781
atan2f_args=2
47834782
ldexpf_args=2
47844783
powf_args=2
4785-
fminf_args=2
47864784

47874785
for func in $MATH_FUNCS; do
47884786
eval check_mathfunc $func \${${func}_args:-1}

libavutil/libm.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,6 @@ static av_always_inline float cbrtf(float x)
8282
#define exp2f(x) ((float)exp2(x))
8383
#endif /* HAVE_EXP2F */
8484

85-
#if !HAVE_FMINF
86-
#undef fminf
87-
static av_always_inline av_const float fminf(float x, float y)
88-
{
89-
//Note, the NaN special case is needed for C spec compliance, it should be
90-
//optimized away if the users compiler is configured to assume no NaN
91-
return x > y ? y : (x == x ? x : y);
92-
}
93-
#endif
94-
9585
#if !HAVE_ISINF
9686
static av_always_inline av_const int isinf(float x)
9787
{

0 commit comments

Comments
 (0)