[Ffmpeg-devel] [PATCH] fix inline keyword position

Dominik 'Rathann' Mierzejewski dominik
Sun Oct 8 18:07:55 CEST 2006


Fixes:
mpegvideo.h:777: warning: ?inline? is not at beginning of declaration
motion_est_template.c:236: warning: ?inline? is not at beginning of declaration

Regards,
R.

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
-------------- next part --------------
--- MPlayer-18574/libavcodec/mpegvideo.h.lavc	2006-06-03 14:38:18.000000000 +0200
+++ MPlayer-18574/libavcodec/mpegvideo.h	2006-06-03 15:08:42.000000000 +0200
@@ -824,7 +824,7 @@
 inline int ff_epzs_motion_search(MpegEncContext * s, int *mx_ptr, int *my_ptr,
                              int P[10][2], int src_index, int ref_index, int16_t (*last_mv)[2],
                              int ref_mv_scale, int size, int h);
-int inline ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index,
+inline int ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index,
                                int ref_index, int size, int h, int add_rate);
 
 /* mpeg12.c */
--- MPlayer-18574/libavcodec/motion_est_template.c.lavc	2006-06-03 14:38:18.000000000 +0200
+++ MPlayer-18574/libavcodec/motion_est_template.c	2006-06-03 15:08:42.000000000 +0200
@@ -231,7 +231,7 @@
     return dmin;
 }
 
-int inline ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index,
+inline int ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index,
                                int ref_index, int size, int h, int add_rate)
 {
 //    const int check_luma= s->dsp.me_sub_cmp != s->dsp.mb_cmp;



More information about the ffmpeg-devel mailing list