From c9f630198d07bafcd83927360149b47059b66ec8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Wed, 1 Jan 2014 19:06:47 +0100 Subject: [PATCH] ts: do not call stream_Size two times --- modules/demux/ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/ts.c b/modules/demux/ts.c index ade6ab7d8b..5304502ccd 100644 --- a/modules/demux/ts.c +++ b/modules/demux/ts.c @@ -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; -- 2.39.2