Commit 65295c7b authored by Francois Cartegnie's avatar Francois Cartegnie

really set last section number

fixes regressions by commit
7e9f4ed3
(early multi sections table end, segmented EIT failure)
parent be3ae322
...@@ -222,7 +222,7 @@ bool dvbpsi_decoder_psi_section_add(dvbpsi_decoder_t *p_decoder, dvbpsi_psi_sect ...@@ -222,7 +222,7 @@ bool dvbpsi_decoder_psi_section_add(dvbpsi_decoder_t *p_decoder, dvbpsi_psi_sect
/* Add to end of list */ /* Add to end of list */
if (p_prev->i_number < p_section->i_number) if (p_prev->i_number < p_section->i_number)
{ {
p_decoder->i_last_section_number = p_section->i_number; p_decoder->i_last_section_number = p_section->i_last_number;
p_prev->p_next = p_section; p_prev->p_next = p_section;
p_section->p_next = NULL; p_section->p_next = 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