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