tests/examples/equalizer/demo.c: C89 fix, moving variable declarations to the beginning of the block. Fixes bug #517933.

Original commit message from CVS:
Patch by: Jens Granseuer <jensgr at gmx dot net>
* tests/examples/equalizer/demo.c: (main):
C89 fix, moving variable declarations to the beginning of
the block. Fixes bug #517933.
This commit is contained in:
Jens Granseuer 2008-02-22 05:39:01 +00:00 committed by Sebastian Dröge
parent 9d38994428
commit 73a4369e0e
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2008-02-22 Sebastian Dröge <slomo@circular-chaos.org>
Patch by: Jens Granseuer <jensgr at gmx dot net>
* tests/examples/equalizer/demo.c: (main):
C89 fix, moving variable declarations to the beginning of
the block. Fixes bug #517933.
2008-02-21 Jan Schmidt <jan.schmidt@sun.com> 2008-02-21 Jan Schmidt <jan.schmidt@sun.com>
* configure.ac: * configure.ac:

View file

@ -126,6 +126,7 @@ main (int argc, char *argv[])
GstCaps *caps; GstCaps *caps;
GstBus *bus; GstBus *bus;
GtkWidget *appwindow, *vbox, *hbox, *widget; GtkWidget *appwindow, *vbox, *hbox, *widget;
int i;
gst_init (&argc, &argv); gst_init (&argc, &argv);
gtk_init (&argc, &argv); gtk_init (&argc, &argv);
@ -178,8 +179,6 @@ main (int argc, char *argv[])
hbox = gtk_hbox_new (FALSE, 20); hbox = gtk_hbox_new (FALSE, 20);
int i;
for (i = 0; i < NBANDS; i++) { for (i = 0; i < NBANDS; i++) {
GstObject *band; GstObject *band;
gdouble freq; gdouble freq;