Commit 01e03b9a authored by Francois Cartegnie's avatar Francois Cartegnie

demux: asf: correctly flag invalid time

parent bc5a9b1b
......@@ -330,14 +330,14 @@ static void SeekPrepare( demux_t *p_demux )
{
demux_sys_t *p_sys = p_demux->p_sys;
p_sys->i_time = -1;
p_sys->i_time = VLC_TS_INVALID;
for( int i = 0; i < 128 ; i++ )
{
asf_track_t *tk = p_sys->track[i];
if( !tk )
continue;
tk->i_time = 1;
tk->i_time = VLC_TS_INVALID;
if( tk->p_frame )
block_ChainRelease( tk->p_frame );
tk->p_frame = NULL;
......
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