From 0db9eba48c8a27bc2373d02edda3340ef6f0e5fc Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Tue, 31 Jul 2012 14:58:09 +0100 Subject: [PATCH] motion_est: drop inline from sad_hpel_motion_search() This function is only ever called through a function pointer, so marking it inline makes no sense. Signed-off-by: Mans Rullgard --- libavcodec/motion_est.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index ee4abea61b..4cf8a68df7 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -45,7 +45,7 @@ #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); @@ -379,7 +379,7 @@ int ff_init_me(MpegEncContext *s){ 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)