Commit a45cb92f authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Set BLOCK_FLAG_CORRUPTED when reseting the packetizer.

This one is more for consistency with what the core do.
parent 38d1b1a3
......@@ -170,7 +170,7 @@ static int Demux( demux_t *p_demux)
block_t *p_null = block_Alloc( 128 );
if( p_null )
{
p_null->i_flags = BLOCK_FLAG_DISCONTINUITY;
p_null->i_flags = BLOCK_FLAG_DISCONTINUITY | BLOCK_FLAG_CORRUPTED;
p_null->p_next = p_block_in;
}
p_block_in = p_null;
......
Supports Markdown
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