Commit 8a264d9e authored by Jean-Paul Saman's avatar Jean-Paul Saman

chain.c: dvbpsi_chain_demux_new() add assert(p_dvbpsi).

parent 6ed4201b
......@@ -82,6 +82,8 @@ static void dvbpsi_decoder_chain_demux(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t
bool dvbpsi_chain_demux_new(dvbpsi_t *p_dvbpsi, dvbpsi_callback_new_t pf_new,
dvbpsi_callback_del_t pf_del, void *p_data)
{
assert(p_dvbpsi);
if (p_dvbpsi->p_decoder) {
dvbpsi_error(p_dvbpsi, "chain", "cannot initialize decoder chain");
return false;
......
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