From e7a01297745886464a227e4738f250e2a0861300 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Mon, 17 Jan 2005 23:34:45 +0000 Subject: ext/faad/gstfaad.c: Argh... Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_srcgetcaps): Argh... --- ext/faad/gstfaad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/faad/gstfaad.c') 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, -- cgit v1.2.1