[FFmpeg-cvslog] motion_est: drop inline from sad_hpel_motion_search()

Mans Rullgard git at videolan.org
Fri Aug 10 04:52:04 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Tue Jul 31 14:58:09 2012 +0100| [0db9eba48c8a27bc2373d02edda3340ef6f0e5fc] | committer: Mans Rullgard

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 <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0db9eba48c8a27bc2373d02edda3340ef6f0e5fc
---

 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 ee4abea..4cf8a68 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)



More information about the ffmpeg-cvslog mailing list