gaudieffects: Mark inline functions as static inline

Otherwise it fails to correctly link them in some cases.

https://bugzilla.gnome.org/show_bug.cgi?id=626670
This commit is contained in:
Olivier Crête 2010-08-11 22:03:07 +02:00 committed by Tim-Philipp Müller
parent 8486430ee5
commit db44c62acb
2 changed files with 4 additions and 4 deletions

View file

@ -105,7 +105,7 @@ gint cosTable[2 * 512];
static gint gate_int (gint value, gint min, gint max);
void setup_cos_table (void);
static gint cos_from_table (int angle);
inline int abs_int (int val);
static inline int abs_int (int val);
static void transform (guint32 * src, guint32 * dest, gint video_area);
/* The capabilities of the inputs and outputs. */
@ -280,7 +280,7 @@ setup_cos_table (void)
}
/* Keep the values absolute. */
inline int
static inline int
abs_int (int val)
{
if (val > 0) {

View file

@ -95,7 +95,7 @@ enum
static void transform (guint32 * src, guint32 * dest, gint video_area,
gint width, gint height);
inline guint32 get_luminance (guint32 in);
static inline guint32 get_luminance (guint32 in);
/* The capabilities of the inputs and outputs. */
@ -254,7 +254,7 @@ gst_dilate_plugin_init (GstPlugin * dilate)
/*** Now the image processing work.... ***/
/* Return luminance of the color */
inline guint32
static inline guint32
get_luminance (guint32 in)
{
guint32 red, green, blue, luminance;