[vlc-commits] access: dvdread: fix int overflow (cid #1062572)
Francois Cartegnie
git at videolan.org
Wed Aug 20 01:53:42 CEST 2014
vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Aug 18 21:43:04 2014 +0900| [01b1853c11fb2e3872278f5f23cb13bd1b135f55] | committer: Jean-Baptiste Kempf
access: dvdread: fix int overflow (cid #1062572)
(cherry picked from commit c2132a158eb6266024ad3ab17d684b0eb23fa700)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=01b1853c11fb2e3872278f5f23cb13bd1b135f55
---
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 bab7217..f1c6429 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