[vlc-devel] commit: RTP: fix use of unitialized value ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Nov 27 18:13:40 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Nov 27 19:04:59 2008 +0200| [36993b454826ea48b524ce99936f667ef330a664] | committer: Rémi Denis-Courmont 

RTP: fix use of unitialized value

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=36993b454826ea48b524ce99936f667ef330a664
---

 modules/access/rtp/input.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/rtp/input.c b/modules/access/rtp/input.c
index ccd48b9..715afdf 100644
--- a/modules/access/rtp/input.c
+++ b/modules/access/rtp/input.c
@@ -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))




More information about the vlc-devel mailing list