From fadc4045f91ca78c046f301cba6065732b5d27ea Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Tue, 1 Apr 2014 22:11:45 +0200 Subject: [PATCH] arm: use the weight_fn_t typedef for mc weight function arrays --- 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 47809614..3805e736 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,\ -- 2.39.2