gst/rtpmanager/gstrtpjitterbuffer.c: Initialise with GST_CLOCK_TIME_NONE to avoid...
authorJan Schmidt <thaytan@mad.scientist.com>
Mon, 12 May 2008 14:12:08 +0000 (14:12 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 Aug 2009 01:30:35 +0000 (02:30 +0100)
Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_loop):
Initialise with GST_CLOCK_TIME_NONE to avoid compiler warning.

gst/rtpmanager/gstrtpjitterbuffer.c

index 30f961d..df68e24 100644 (file)
@@ -1103,7 +1103,7 @@ again:
     GstClockTime sync_time;
     GstClockReturn ret;
     GstClock *clock;
-    GstClockTime duration = -1;
+    GstClockTime duration = GST_CLOCK_TIME_NONE;
 
     if (gap > 0) {
       /* we have a gap */