]> git.sesse.net Git - x264/blobdiff - common/arm/mc-c.c
arm: use the weight_fn_t typedef for mc weight function arrays
[x264] / 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,\