Commit 73d5d3a2 authored by Daniel Kamil Kozar's avatar Daniel Kamil Kozar Committed by Jean-Paul Saman

Extra network_id and initial_service_id can both occur simultaneously

(cherry picked from commit 25669604c1e16f945f7f6d896bf9d7b97e19f03c)
Signed-off-by: Jean-Paul Saman's avatarJean-Paul Saman <jpsaman@videolan.org>
parent b297e4d4
......@@ -152,13 +152,13 @@ dvbpsi_descriptor_t * dvbpsi_GenLinkageDr(dvbpsi_linkage_dr_t * p_decoded,
if (p_decoded->i_linkage_type == 0x08)
{
length++;
if ((p_decoded->i_handover_type > 0) &&
(p_decoded->i_handover_type < 3))
{
length+=2;
if (p_decoded->i_origin_type == 0)
length+=2;
}
if (p_decoded->i_origin_type == 0)
length+=2;
}
if (p_decoded->i_linkage_type == 0x0D)
length+=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