Commit 9f2289a6 authored by Francois Cartegnie's avatar Francois Cartegnie

really reset packet counter

parent 89f23e87
......@@ -120,6 +120,9 @@ void dvbpsi_decoder_reset(dvbpsi_decoder_t* p_decoder, const bool b_force)
if (b_force)
p_decoder->b_current_valid = false;
p_decoder->i_continuity_counter = DVBPSI_INVALID_CC;
p_decoder->prevpacket[0] = 0;
/* Clear the section array */
dvbpsi_DeletePSISections(p_decoder->p_sections);
p_decoder->p_sections = NULL;
......
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