checkasm/opusdsp: declare opus_deemphasis as a function returning a float
authorJames Almer <jamrial@gmail.com>
Wed, 18 Sep 2019 14:23:36 +0000 (11:23 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 18 Sep 2019 14:42:06 +0000 (11:42 -0300)
Fixes ticket #8175

Signed-off-by: James Almer <jamrial@gmail.com>
tests/checkasm/opusdsp.c

index 279a92e..828ecf9 100644 (file)
@@ -67,7 +67,7 @@ static void test_deemphasis(void)
     LOCAL_ALIGNED(16, float, dst1, [FFALIGN(MAX_SIZE, 4)]);
     float coeff0 = (float)rnd() / (UINT_MAX >> 5) - 16.0f, coeff1 = coeff0;
 
-    declare_func(float, float *out, float *in, float coeff, int len);
+    declare_func_float(float, float *out, float *in, float coeff, int len);
 
     randomize_float(src, MAX_SIZE);