From b1d31e2f1236f4f7791bb2b969c214b57ac2a1c0 Mon Sep 17 00:00:00 2001 From: Keiji Costantini Date: Mon, 21 Apr 2008 08:32:11 +0000 Subject: [PATCH] Force inlining of MPV_motion_internal. Patch by strites: strites gmail com Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations Date: 04/06/2008 11:32 PM Originally committed as revision 12918 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo_common.h b/libavcodec/mpegvideo_common.h index dfc5897c2a..4f3396f589 100644 --- a/libavcodec/mpegvideo_common.h +++ b/libavcodec/mpegvideo_common.h @@ -635,7 +635,7 @@ static inline void prefetch_motion(MpegEncContext *s, uint8_t **pix, int dir){ * @param pic_op qpel motion compensation function (average or put normally) * the motion vectors are taken from s->mv and the MV type from s->mv_type */ -static inline void MPV_motion_internal(MpegEncContext *s, +static av_always_inline void MPV_motion_internal(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int dir, uint8_t **ref_picture,