Commit db622d74 authored by Christophe Massiot's avatar Christophe Massiot

* src/dvbpsi.c: Fixed the use of uninitialized data when

   section_syntax_indicator=0.
parent 63f9c0fc
......@@ -210,6 +210,11 @@ void dvbpsi_PushPacket(dvbpsi_handle h_dvbpsi, uint8_t* p_data)
}
else
{
p_section->i_extension = 0;
p_section->i_version = 0;
p_section->b_current_next = 1;
p_section->i_number = 0;
p_section->i_last_number = 0;
p_section->p_payload_start = p_section->p_data + 3;
}
......
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