RTP: fix use of unitialized value
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 27 Nov 2008 17:04:59 +0000 (19:04 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 27 Nov 2008 17:12:47 +0000 (19:12 +0200)
modules/access/rtp/input.c

index ccd48b9..715afdf 100644 (file)
@@ -196,7 +196,7 @@ void *rtp_thread (void *data)
 void rtp_process (demux_t *demux)
 {
     demux_sys_t *p_sys = demux->p_sys;
-    mtime_t deadline;
+    mtime_t deadline = INT64_MAX;
 
     vlc_mutex_lock (&p_sys->lock);
     if (!rtp_dequeue (demux, p_sys->session, &deadline))