diff options
author | Olivier Crête <olivier.crete@collabora.co.uk> | 2010-08-11 22:03:07 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-08-12 09:14:10 +0100 |
commit | db44c62acbad6b0de4c1393c631210508bedd021 (patch) | |
tree | 66e5a30808581741422ebc5ba7d18ceb7ebba433 /gst/gaudieffects | |
parent | 8486430ee5a410f7214714f08c8f4792e2ab945e (diff) | |
download | gstreamer-plugins-bad-db44c62acbad6b0de4c1393c631210508bedd021.tar.gz |
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
Diffstat (limited to 'gst/gaudieffects')
-rw-r--r-- | gst/gaudieffects/gstchromium.c | 4 | ||||
-rw-r--r-- | gst/gaudieffects/gstdilate.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gst/gaudieffects/gstchromium.c b/gst/gaudieffects/gstchromium.c index a081c0aba..bbabc155c 100644 --- a/gst/gaudieffects/gstchromium.c +++ b/gst/gaudieffects/gstchromium.c @@ -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) { diff --git a/gst/gaudieffects/gstdilate.c b/gst/gaudieffects/gstdilate.c index 0a7ebaea0..c76315966 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -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; |