Commit 30c7f613 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: ts: fix null deref (cid #1348115)

parent 781bd360
......@@ -2279,7 +2279,10 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid, block_t *p_pes )
block_Release( p_block );
p_block = NULL;
}
p_block = J2K_Parse( p_demux, p_block, pid->u.p_pes->es.b_interlaced );
else
{
p_block = J2K_Parse( p_demux, p_block, pid->u.p_pes->es.b_interlaced );
}
if( !p_block )
return;
}
......
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