Commit 3133e7fd authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/libm: use FFMIN instead of fmin()

MSVC apparently doesnt support fmin() either

Suggested/Found-by: ubitux, Daemon404, nevcairiel
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 27b893b2
...@@ -84,7 +84,7 @@ static av_always_inline float cbrtf(float x) ...@@ -84,7 +84,7 @@ static av_always_inline float cbrtf(float x)
#if !HAVE_FMINF #if !HAVE_FMINF
#undef fminf #undef fminf
#define fminf(x, y) ((float)fmin(x,y)) #define fminf(x, y) (FFMIN(x,y))
#endif #endif
#if !HAVE_ISINF #if !HAVE_ISINF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment