Commit 74535ccf authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski

demux: If ECM forwarding is enabled do not remove CA descriptors from PMT.

This fixes regression against version 2.0.
Reported-By: default avatarJULIAN GARDNER <joolzg@btinternet.com>
Signed-Off-By: default avatarGeorgi Chorbadzhiyski <georgi@unixsol.org>
parent 350557c6
...@@ -1175,7 +1175,7 @@ static void CopyDescriptors( uint8_t *p_descs, uint8_t *p_current_descs ) ...@@ -1175,7 +1175,7 @@ static void CopyDescriptors( uint8_t *p_descs, uint8_t *p_current_descs )
uint8_t i_tag = desc_get_tag( p_current_desc ); uint8_t i_tag = desc_get_tag( p_current_desc );
j++; j++;
if ( b_enable_ecm && i_tag == 0x9 ) continue; if ( !b_enable_ecm && i_tag == 0x9 ) continue;
p_desc = descs_get_desc( p_descs, k ); p_desc = descs_get_desc( p_descs, k );
if ( p_desc == NULL ) continue; /* This shouldn't happen */ if ( p_desc == NULL ) continue; /* This shouldn't happen */
......
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