summaryrefslogtreecommitdiffstats
path: root/gst/goom
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 18:38:29 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:28 +0200
commitc185a8db9d157fabb02abf71df498b618f0fd025 (patch)
treedca64cb24d4448de00cb74319256f538d0e81b5b /gst/goom
parent5c52506d0746816aa8392d8409794e7874200d70 (diff)
goom: ff and iff are only used in a '#ifdef DRAW_MOTIF' block.
Diffstat (limited to 'gst/goom')
-rw-r--r--gst/goom/convolve_fx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/goom/convolve_fx.c b/gst/goom/convolve_fx.c
index fd148041..9c29192e 100644
--- a/gst/goom/convolve_fx.c
+++ b/gst/goom/convolve_fx.c
@@ -283,12 +283,14 @@ convolve_apply (VisualFX * _this, Pixel * src, Pixel * dest, PluginInfo * info)
{
ConvData *data = (ConvData *) _this->fx_data;
+#ifdef DRAW_MOTIF
float ff;
int iff;
ff = (FVAL (data->factor_p) * FVAL (data->factor_adj_p) +
FVAL (data->light)) / 100.0f;
iff = (unsigned int) (ff * 256);
+#endif
{
double fcycle = (double) info->cycle;