Skip to content
Snippets Groups Projects
Commit 8d046d61 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

demux: ts: fix forward null deref (cid #1352631)

parent 21c71f5e
No related branches found
No related tags found
No related merge requests found
......@@ -1424,6 +1424,11 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid, block_t *p_pes )
}
ts_pmt_t *p_pmt = p_es->p_program;
if( unlikely(!p_pmt) )
{
block_ChainRelease( p_block );
return;
}
while (p_block) {
block_t *p_next = p_block->p_next;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment