]> git.sesse.net Git - x264/commitdiff
arm: use the weight_fn_t typedef for mc weight function arrays
authorJanne Grunau <janne-x264@jannau.net>
Tue, 1 Apr 2014 20:11:45 +0000 (22:11 +0200)
committerFiona Glaser <fiona@x264.com>
Tue, 22 Apr 2014 22:37:50 +0000 (15:37 -0700)
common/arm/mc-c.c

index 478096147eff338a7e8f18d37827dd4f464fe52d..3805e736e76d4800cfa135013efa2a6cbf7c94a0 100644 (file)
@@ -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,\