vorbisdec: use right channel variable even more

This commit is contained in:
Mark Nauwelaerts 2012-01-06 16:15:40 +01:00
parent 97a4f7e1e5
commit 08a6621b2d

View file

@ -248,7 +248,7 @@ vorbis_handle_identification_packet (GstVorbisDec * vd)
}
default:{
GstAudioChannelPosition position[64];
gint i, max_pos = MAX (info.channels, 64);
gint i, max_pos = MAX (vd->vi.channels, 64);
GST_ELEMENT_WARNING (vd, STREAM, DECODE,
(NULL), ("Using NONE channel layout for more than 8 channels"));