summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/faad/gstfaad.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f1c765c..4828c945 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
+ * ext/faad/gstfaad.c: (gst_faad_srcgetcaps):
+ Argh...
+
2005-01-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/faad/gstfaad.c: (gst_faad_srcgetcaps):
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index 444437a9..491c187d 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -323,7 +323,7 @@ gst_faad_srcgetcaps (GstPad * pad)
guchar *supported_fpos = g_new0 (guchar, num_supported_positions);
gint n;
- for (n = 0; n <= num_supported_positions; n++) {
+ for (n = 0; n < num_supported_positions; n++) {
supported_fpos[n] = n + FRONT_CHANNEL_CENTER;
}
supported_positions = gst_faad_chanpos_to_gst (supported_fpos,