src/dvbpsi.c: fix segmentation fault in dvbpsi_decoder_psi_section_add()
When p->i_number == p_section->i_number AND p_prev == NULL, then the
first element of the list has to be replaced. Since it is the first
element we have to update the pointer to the list, which is pointing to
the first element
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Showing
Please register or sign in to comment