motion_est: drop inline from sad_hpel_motion_search()
authorMans Rullgard <mans@mansr.com>
Tue, 31 Jul 2012 13:58:09 +0000 (14:58 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 9 Aug 2012 11:27:49 +0000 (12:27 +0100)
This function is only ever called through a function pointer,
so marking it inline makes no sense.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/motion_est.c

index ee4abea..4cf8a68 100644 (file)
@@ -45,7 +45,7 @@
 #define P_MEDIAN P[4]
 #define P_MV1 P[9]
 
 #define P_MEDIAN P[4]
 #define P_MV1 P[9]
 
-static inline int sad_hpel_motion_search(MpegEncContext * s,
+static int sad_hpel_motion_search(MpegEncContext * s,
                                   int *mx_ptr, int *my_ptr, int dmin,
                                   int src_index, int ref_index,
                                   int size, int h);
                                   int *mx_ptr, int *my_ptr, int dmin,
                                   int src_index, int ref_index,
                                   int size, int h);
@@ -379,7 +379,7 @@ int ff_init_me(MpegEncContext *s){
     COPY3_IF_LT(dminh, d, dx, x, dy, y)\
 }
 
     COPY3_IF_LT(dminh, d, dx, x, dy, y)\
 }
 
-static inline int sad_hpel_motion_search(MpegEncContext * s,
+static int sad_hpel_motion_search(MpegEncContext * s,
                                   int *mx_ptr, int *my_ptr, int dmin,
                                   int src_index, int ref_index,
                                   int size, int h)
                                   int *mx_ptr, int *my_ptr, int dmin,
                                   int src_index, int ref_index,
                                   int size, int h)