Commit fa4b2938 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

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).
parent 1df1d34f
......@@ -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");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment