mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
9d38994428
commit
73a4369e0e
2 changed files with 9 additions and 2 deletions
|
@ -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:
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue