1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 05:22:23 +00:00

init msec in mp_get_titleset_length() before using it; closes cid 251

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17818 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-03-11 23:29:02 +00:00
parent c446e2e8ee
commit 86d46b8ec9

View File

@ -438,6 +438,7 @@ static int mp_get_titleset_length(ifo_handle_t *vts_file, tt_srpt_t *tt_srpt, in
int pgc_no; ///< program chain number
int msec; ///< time length in milliseconds
msec=0;
if(!vts_file || !tt_srpt)
return 0;