[0.11] gst-plugins-base: vorbisdec: use right channel variable even more

Mark Nauwelaerts mnauw at kemper.freedesktop.org
Fri Jan 6 07:16:07 PST 2012


Module: gst-plugins-base
Branch: 0.11
Commit: 08a6621b2d81f0088309d33f173776a7ac3ae5c4
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=08a6621b2d81f0088309d33f173776a7ac3ae5c4

Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Fri Jan  6 16:15:40 2012 +0100

vorbisdec: use right channel variable even more

---

 ext/vorbis/gstvorbisdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/vorbis/gstvorbisdec.c b/ext/vorbis/gstvorbisdec.c
index cdf7223..033d2b3 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"));



More information about the gstreamer-commits mailing list