Commit 8c1ef02b authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ts: reset mpeg4desc/iod pointer on PMT update

parent cb3db809
......@@ -5208,6 +5208,8 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
{
IODFree( p_pmt->iod );
p_pmt->iod = NULL;
for( int i=0; i<old_es_rm.i_size; i++ )
old_es_rm.p_elems[i]->u.p_pes->es.p_mpeg4desc = NULL;
}
msg_Dbg( p_demux, "new PMT program number=%d version=%d pid_pcr=%d",
......
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