[vlc-devel] [PATCH] arm_neon: Explicitly specify the symbol name for amplify_float_arm_neon

Martin Storsjö martin at martin.st
Fri Feb 7 14:46:55 CET 2014


This is consistent with all the other neon functions. This avoids
having to add a symbol prefix via other means (macros, wrapper
tools) on platforms that normally use one.
---
 modules/arm_neon/volume.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/arm_neon/volume.c b/modules/arm_neon/volume.c
index 7233b90..3497387 100644
--- a/modules/arm_neon/volume.c
+++ b/modules/arm_neon/volume.c
@@ -55,7 +55,7 @@ static int Probe(vlc_object_t *obj)
     return VLC_SUCCESS;
 }
 
-void amplify_float_arm_neon(float *, const float *, size_t, float);
+void amplify_float_arm_neon(float *, const float *, size_t, float) asm("amplify_float_arm_neon");
 
 static void AmplifyFloat(audio_volume_t *volume, block_t *block, float amp)
 {
-- 
1.8.3.4 (Apple Git-47)




More information about the vlc-devel mailing list