diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-06 18:02:53 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-06 18:02:53 +0400 |
commit | 3133e7fd447513071b3075ae1a61f055003c3e34 (patch) | |
tree | 6eb51c73debf2739acb1b0d52db3b70c77ec0280 /libavutil | |
parent | 27b893b231edc157b443b55edc20495c644d27a8 (diff) |
avutil/libm: use FFMIN instead of fmin()
MSVC apparently doesnt support fmin() either
Suggested/Found-by: ubitux, Daemon404, nevcairiel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/libm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/libm.h b/libavutil/libm.h index 8f27fa32d2..eacb3cc42a 100644 --- a/libavutil/libm.h +++ b/libavutil/libm.h @@ -84,7 +84,7 @@ static av_always_inline float cbrtf(float x) #if !HAVE_FMINF #undef fminf -#define fminf(x, y) ((float)fmin(x,y)) +#define fminf(x, y) (FFMIN(x,y)) #endif #if !HAVE_ISINF |