summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-05 10:30:46 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-05 10:30:46 +0100
commit025e26f73ac8f499df466e2ec7ab14b2e0b3df40 (patch)
tree910020f9b3374672e5f4cd15e1e6fc365a704808
parent9405a328b1ea41585e9a35ce9ec45bf6bd2755dd (diff)
equalizer: Fix stupid off by two bug
-rw-r--r--gst/equalizer/gstiirequalizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c
index b9a611a41..3ecd215d3 100644
--- a/gst/equalizer/gstiirequalizer.c
+++ b/gst/equalizer/gstiirequalizer.c
@@ -602,7 +602,7 @@ update_coefficients (GstIirEqualizer * equ)
{
gint i, n = equ->freq_band_count;
- for (i = 1; i < n - 1; i++) {
+ for (i = 0; i < n; i++) {
if (equ->bands[i]->type == BAND_TYPE_PEAK)
setup_peak_filter (equ, equ->bands[i]);
else if (equ->bands[i]->type == BAND_TYPE_LOW_SHELF)