ext/faad/gstfaad.c: Argh...

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_srcgetcaps):
Argh...
This commit is contained in:
Ronald S. Bultje 2005-01-17 23:34:45 +00:00
parent a3efdf57df
commit e7a0129774
2 changed files with 6 additions and 1 deletions

View file

@ -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> 2005-01-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/faad/gstfaad.c: (gst_faad_srcgetcaps): * ext/faad/gstfaad.c: (gst_faad_srcgetcaps):

View file

@ -323,7 +323,7 @@ gst_faad_srcgetcaps (GstPad * pad)
guchar *supported_fpos = g_new0 (guchar, num_supported_positions); guchar *supported_fpos = g_new0 (guchar, num_supported_positions);
gint n; 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_fpos[n] = n + FRONT_CHANNEL_CENTER;
} }
supported_positions = gst_faad_chanpos_to_gst (supported_fpos, supported_positions = gst_faad_chanpos_to_gst (supported_fpos,