Commit 88f1ac57 authored by Sébastien Escudier's avatar Sébastien Escudier

live555 : allow global npt value to go backward

parent 8329973d
......@@ -1923,7 +1923,7 @@ static void StreamRead( void *p_private, unsigned int i_size,
}
/* Update our global npt value */
if( tk->f_npt > 0 && tk->f_npt > p_sys->f_npt &&
if( tk->f_npt > 0 &&
( tk->f_npt < p_sys->f_npt_length || p_sys->f_npt_length <= 0 ) )
p_sys->f_npt = tk->f_npt;
......
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