Commit f5e32002 authored by Marian Ďurkovič's avatar Marian Ďurkovič

Be more strict in provider name matching

(cherry picked from commit bbea92e7)
parent b84c9530
......@@ -2785,8 +2785,8 @@ static void SDTCallBack( demux_t *p_demux, dvbpsi_sdt_t *p_sdt )
if ( p_sdt->i_network_id == 133 )
i_broken_epg = 1; /* SKY DE & BetaDigital use ISO8859-1 */
if ( !strncmp(pD->i_service_provider_name, "CSAT",
pD->i_service_provider_name_length) )
if ( (pD->i_service_provider_name_length == 4) &&
!strncmp(pD->i_service_provider_name, "CSAT", 4) )
i_broken_epg = 1; /* CanalSat FR uses ISO8859-1 */
/* FIXME: Digital+ ES also uses ISO8859-1 */
......
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