Remove fminf() emulation.

The emulation is unused and causes compilation trouble on systems
where fminf() is defined in <math.h> but missing from libm.
This should fix compilation on Debian powerpcspe.
This commit is contained in:
Carl Eugen Hoyos 2014-11-08 10:48:37 +01:00
parent 4342b346d2
commit 4436a8f44d
2 changed files with 0 additions and 12 deletions

View file

@ -82,16 +82,6 @@ static av_always_inline float cbrtf(float x)
#define exp2f(x) ((float)exp2(x))
#endif /* HAVE_EXP2F */
#if !HAVE_FMINF
#undef fminf
static av_always_inline av_const float fminf(float x, float y)
{
//Note, the NaN special case is needed for C spec compliance, it should be
//optimized away if the users compiler is configured to assume no NaN
return x > y ? y : (x == x ? x : y);
}
#endif
#if !HAVE_ISINF
static av_always_inline av_const int isinf(float x)
{