aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-06 16:02:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-06 16:02:53 +0200
commit3133e7fd447513071b3075ae1a61f055003c3e34 (patch)
tree6eb51c73debf2739acb1b0d52db3b70c77ec0280
parent27b893b231edc157b443b55edc20495c644d27a8 (diff)
downloadffmpeg-3133e7fd447513071b3075ae1a61f055003c3e34.tar.gz
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>
-rw-r--r--libavutil/libm.h2
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