[x264-devel] [PATCH 4/4] arm: use the weight_fn_t typedef for mc weight function arrays

Janne Grunau janne-x264 at jannau.net
Tue Apr 1 22:11:45 CEST 2014


---
 common/arm/mc-c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/arm/mc-c.c b/common/arm/mc-c.c
index 4780961..3805e73 100644
--- a/common/arm/mc-c.c
+++ b/common/arm/mc-c.c
@@ -68,7 +68,7 @@ void x264_mc_weight_w16##func##_neon( uint8_t *, intptr_t, uint8_t *, intptr_t,
 void x264_mc_weight_w8##func##_neon ( uint8_t *, intptr_t, uint8_t *, intptr_t, const x264_weight_t *, int );\
 void x264_mc_weight_w4##func##_neon ( uint8_t *, intptr_t, uint8_t *, intptr_t, const x264_weight_t *, int );\
 \
-static void (* const x264_mc##func##_wtab_neon[6])( uint8_t *, intptr_t, uint8_t *, intptr_t, const x264_weight_t *, int ) =\
+static weight_fn_t x264_mc##func##_wtab_neon[6] =\
 {\
     x264_mc_weight_w4##func##_neon,\
     x264_mc_weight_w4##func##_neon,\
-- 
1.9.1



More information about the x264-devel mailing list