matroska: Fix unitialized variable.
authorEdward Hervey <bilboed@bilboed.com>
Fri, 18 Dec 2009 11:44:50 +0000 (12:44 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 18 Dec 2009 11:46:06 +0000 (12:46 +0100)
Yes, it's stupid, but macosx compilers are even more stupid.

gst/matroska/matroska-demux.c

index 3d42c86..5a925ee 100644 (file)
@@ -5362,7 +5362,7 @@ gst_matroska_demux_chain (GstPad * pad, GstBuffer * buffer)
   GstEbmlRead *ebml = GST_EBML_READ (demux);
   guint available;
   GstFlowReturn ret = GST_FLOW_OK;
-  guint needed;
+  guint needed = 0;
   guint32 id;
   guint64 length;
   gchar *name;