Commit 01b1853c authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

access: dvdread: fix int overflow (cid #1062572)

(cherry picked from commit c2132a158eb6266024ad3ab17d684b0eb23fa700)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 57924abb
......@@ -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 );
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment