[vlc-commits] access: dvdread: fix int overflow (cid #1062572)
Francois Cartegnie
git at videolan.org
Mon Aug 18 15:18:48 CEST 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Aug 18 21:43:04 2014 +0900| [c2132a158eb6266024ad3ab17d684b0eb23fa700] | committer: Francois Cartegnie
access: dvdread: fix int overflow (cid #1062572)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c2132a158eb6266024ad3ab17d684b0eb23fa700
---
modules/access/dvdread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/dvdread.c b/modules/access/dvdread.c
index f6d9cdb..9dd4c5b 100644
--- a/modules/access/dvdread.c
+++ b/modules/access/dvdread.c
@@ -1162,7 +1162,7 @@ static void DvdReadHandleDSI( demux_t *p_demux, uint8_t *p_data )
/*
* Store the timecodes so we can get the current time
*/
- p_sys->i_title_cur_time = (mtime_t) (p_sys->dsi_pack.dsi_gi.nv_pck_scr / 90 * 1000);
+ p_sys->i_title_cur_time = (mtime_t) p_sys->dsi_pack.dsi_gi.nv_pck_scr / 90 * 1000;
p_sys->i_cell_cur_time = (mtime_t) dvdtime_to_time( &p_sys->dsi_pack.dsi_gi.c_eltm, 0 );
/*
More information about the vlc-commits
mailing list