浏览代码

libobs: Add "static" to inline func

Fixes linux-specific compiler error:
libobs/libobs.so.0: undefined reference to `hmax_ps'
jp9000 7 年之前
父节点
当前提交
238df3da3a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
  */
-inline float hmax_ps(__m128 x4)
+static inline float hmax_ps(__m128 x4)
 {
 	float x4_mem[4];
 	_mm_store_ps(x4_mem, x4);