diff options
author | Benjamin Otte <otte@gnome.org> | 2002-04-06 14:51:03 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2002-04-06 14:51:03 +0000 |
commit | 2cb859e0c95773cd78473f3d9b279985f64074ea (patch) | |
tree | 86b52d961199d4b6eea2466fb9e076eff1c13aea /gst/spectrum/fix_fft.c | |
parent | b73bb27c605120701619f3fa75acd82d31dec684 (diff) | |
download | gst-plugins-bad-2cb859e0c95773cd78473f3d9b279985f64074ea.tar.gz gst-plugins-bad-2cb859e0c95773cd78473f3d9b279985f64074ea.tar.bz2 gst-plugins-bad-2cb859e0c95773cd78473f3d9b279985f64074ea.zip |
fixed rest of warning for gcc 3 in /gst.
Original commit message from CVS:
fixed rest of warning for gcc 3 in /gst.
fixed some Makefiles: s/-m486/-mcpu=i486/
disabled mpegaudioparse plugin. What good is this rotten code for anyway?
Diffstat (limited to 'gst/spectrum/fix_fft.c')
-rw-r--r-- | gst/spectrum/fix_fft.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/spectrum/fix_fft.c b/gst/spectrum/fix_fft.c index ecd70303..c48fbd90 100644 --- a/gst/spectrum/fix_fft.c +++ b/gst/spectrum/fix_fft.c @@ -76,7 +76,7 @@ static fixed gst_spectrum_fix_mpy(fixed a, fixed b); */ int gst_spectrum_fix_fft(fixed fr[], fixed fi[], int m, int inverse) { int mr, nn, i, j, l, k, istep, n, scale, shift; - fixed qr, qi, tr, ti, wr, wi, t; + fixed qr, qi, tr, ti, wr, wi; n = 1 << m; @@ -268,10 +268,9 @@ int gst_spectrum_iscale(int value, int numer, int denom) { fix_dot() - dot product of two fixed arrays */ fixed gst_spectrum_fix_dot(fixed * hpa, fixed * pb, int n) { - fixed *pa; + fixed *pa = hpa; /* FIXME */ long sum; register fixed a, b; - unsigned int seg, off; /* seg = FP_SEG(hpa); off = FP_OFF(hpa); |