libs/gst/base/gstbasesink.c: Initialize start and stop times, thanks valgrind.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Initialize start and stop times, thanks valgrind.
This commit is contained in:
Wim Taymans 2006-04-07 15:19:08 +00:00
parent 902e249e88
commit 92b7dfef7d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-04-07 Wim Taymans <wim@fluendo.com>
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Initialize start and stop times, thanks valgrind.
2006-04-07 Wim Taymans <wim@fluendo.com>
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):

View file

@ -859,7 +859,7 @@ gst_base_sink_get_sync_times (GstBaseSink * basesink, GstMiniObject * obj,
GstSegment *segment;
/* start with nothing */
sstart = sstop = rstart = rstop = -1;
start = stop = sstart = sstop = rstart = rstop = -1;
if (G_UNLIKELY (GST_IS_EVENT (obj))) {
GstEvent *event = GST_EVENT_CAST (obj);