mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 13:48:55 +00:00
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:
parent
1df1d34fe1
commit
fa4b2938bc
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue