Commit c9f63019 authored by Rémi Duraffort's avatar Rémi Duraffort

ts: do not call stream_Size two times

parent 83c6f126
......@@ -2021,7 +2021,7 @@ static int Seek( demux_t *p_demux, double f_percent )
mtime_t i_target_pcr = (p_sys->i_last_pcr - p_sys->i_first_pcr) * f_percent + p_sys->i_first_pcr;
int64_t i_head_pos = 0;
int64_t i_tail_pos = stream_Size( p_demux->s );
int64_t i_tail_pos;
{
mtime_t i_adjust = 0;
int i;
......
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