Commit e66efa73 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ts: correctly update current chain when dequeuing

parent 23a0634c
......@@ -2354,6 +2354,8 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid, block_t *p_pes )
{
block_ChainAppend( &pid->u.p_pes->p_prepcr_outqueue, p_block );
p_block = pid->u.p_pes->p_prepcr_outqueue;
p_next = p_block->p_next;
p_block->p_next = NULL;
pid->u.p_pes->p_prepcr_outqueue = 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