matroska: init variable to avoid compiler warning on OSX

Fixes (bogus) "'offset' may be used uninitialized in this function"
warning on build bot (also spotted by philn).
This commit is contained in:
Tim-Philipp Müller 2010-05-01 11:06:53 +01:00
parent 1df1d34fe1
commit fa4b2938bc

View file

@ -2435,8 +2435,8 @@ gst_matroska_demux_handle_seek_push (GstMatroskaDemux * demux, GstPad * pad,
/* check for having parsed index already */
if (!demux->index_parsed) {
guint64 offset;
gboolean building_index;
guint64 offset = 0;
if (!demux->index_offset) {
GST_DEBUG_OBJECT (demux, "no index (location); no seek in push mode");