Browse Source

libobs: Add "static" to inline func

Fixes linux-specific compiler error:
libobs/libobs.so.0: undefined reference to `hmax_ps'
jp9000 7 years ago
parent
commit
238df3da3a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs/obs-audio-controls.c

+ 1 - 1
libobs/obs-audio-controls.c

@@ -302,7 +302,7 @@ static inline __m128 abs_ps(__m128 v)
 
 
 /* x4(d, c, b, a)  -->  max(a, b, c, d)
 /* x4(d, c, b, a)  -->  max(a, b, c, d)
  */
  */
-inline float hmax_ps(__m128 x4)
+static inline float hmax_ps(__m128 x4)
 {
 {
 	float x4_mem[4];
 	float x4_mem[4];
 	_mm_store_ps(x4_mem, x4);
 	_mm_store_ps(x4_mem, x4);