summaryrefslogtreecommitdiffstats
path: root/gst/goom/goom_core.c
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-02-26 10:09:38 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-02-26 10:09:38 +0000
commitc34fa140d0c16ce688e42947a8668049ce22cdb7 (patch)
treea33f768a8cdc09adec4cc4e9a678b781ffa48adb /gst/goom/goom_core.c
parentc99b95d8cb9f95cd0cec8ad736f139b6029d13c9 (diff)
configure.ac: Detect and indicate if GCC inline assembly syntax is available.
Original commit message from CVS: * configure.ac: Detect and indicate if GCC inline assembly syntax is available. * gst/goom/Makefile.am: * gst/goom/convolve_fx.c: * gst/goom/flying_stars_fx.c: * gst/goom/goom_config.h: * gst/goom/goom_core.c: * gst/goom/goomsl.c: * gst/goom/ifs.c: * gst/goom/mmx.c: * gst/goom/plugin_info.c: * gst/goom/xmmx.c: Fix various GCC-isms, and only build the inline assembly with compilers that support GCC inline assembly. Fix a couple of other warnings shown with Forte.
Diffstat (limited to 'gst/goom/goom_core.c')
-rw-r--r--gst/goom/goom_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/goom/goom_core.c b/gst/goom/goom_core.c
index 5dee8278..14df03a0 100644
--- a/gst/goom/goom_core.c
+++ b/gst/goom/goom_core.c
@@ -11,6 +11,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <inttypes.h>
#include "goom.h"
@@ -721,8 +722,7 @@ goom_update (PluginInfo * goomInfo, gint16 data[2][512],
goomInfo->update.lineMode--;
if (goomInfo->update.lineMode == -1)
goomInfo->update.lineMode = 0;
- } else
- if ((goomInfo->cycle % 80 == 0)
+ } else if ((goomInfo->cycle % 80 == 0)
&& (goom_irand (goomInfo->gRandom, 5) == 0) && goomInfo->update.lineMode)
goomInfo->update.lineMode--;