mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
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>
This commit is contained in:
parent
27b893b231
commit
3133e7fd44
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user