changeset 17817:560617cdcc3b

init msec in mp_get_titleset_length() before using it; closes cid 251
author nicodvb
date Sat, 11 Mar 2006 23:29:02 +0000
parents c3530af0e23c
children e2f06b46dac0
files libmpdemux/stream_dvd.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/stream_dvd.c	Sat Mar 11 23:26:02 2006 +0000
+++ b/libmpdemux/stream_dvd.c	Sat Mar 11 23:29:02 2006 +0000
@@ -438,6 +438,7 @@
     int pgc_no;   ///< program chain number
     int msec;     ///< time length in milliseconds
 
+    msec=0;
     if(!vts_file || !tt_srpt)
         return 0;