From 08a6621b2d81f0088309d33f173776a7ac3ae5c4 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 6 Jan 2012 16:15:40 +0100 Subject: [PATCH] vorbisdec: use right channel variable even more --- ext/vorbis/gstvorbisdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/vorbis/gstvorbisdec.c b/ext/vorbis/gstvorbisdec.c index cdf7223715..033d2b3508 100644 --- a/ext/vorbis/gstvorbisdec.c +++ b/ext/vorbis/gstvorbisdec.c @@ -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"));