diff options
Diffstat (limited to 'ext/faad')
-rw-r--r-- | ext/faad/gstfaad.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |