aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/patches/010-remove_unused_fminf_definition.patch
blob: 7dc0c27acfb2c47608661e30f4d4c0efae72d208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/libavutil/libm.h
+++ b/libavutil/libm.h
@@ -82,6 +82,7 @@ static av_always_inline float cbrtf(floa
 #define exp2f(x) ((float)exp2(x))
 #endif /* HAVE_EXP2F */
 
+/* ---------- BROKEN: Defined in math.h but not present in uClibc 0.9.33.2 
 #if !HAVE_FMINF
 #undef fminf
 static av_always_inline av_const float fminf(float x, float y)
@@ -91,6 +92,7 @@ static av_always_inline av_const float f
     return x > y ? y : (x == x ? x : y);
 }
 #endif
+------------------------------------------------------------------------- */
 
 #if !HAVE_ISINF
 static av_always_inline av_const int isinf(float x)