access: dvdread: fix int overflow (cid #1062572)
authorFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 18 Aug 2014 12:43:04 +0000 (21:43 +0900)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 18 Aug 2014 12:43:04 +0000 (21:43 +0900)
modules/access/dvdread.c

index f6d9cdb..9dd4c5b 100644 (file)
@@ -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 );
 
     /*