Browse Source

obs-filters: Remove fminf/fmaxf redefinitions

These functions are already defined in math.h, so there's no need to
define them again.
jp9000 10 years ago
parent
commit
204d5f30ce
1 changed files with 0 additions and 10 deletions
  1. 0 10
      plugins/obs-filters/noise-gate-filter.c

+ 0 - 10
plugins/obs-filters/noise-gate-filter.c

@@ -8,16 +8,6 @@
 #define finite _finite
 #endif
 
-static inline float fmaxf(float a, float b)
-{
-	return a > b ? a : b;
-}
-
-static inline float fminf(float a, float b)
-{
-	return a < b ? a : b;
-}
-
 #endif
 
 #define do_log(level, format, ...) \