Don't inject EPG from disabled DVB services. Ticket #180
This commit is contained in:
parent
5288a7a5f1
commit
3dcc1f2be2
1 changed files with 1 additions and 5 deletions
|
@ -540,11 +540,7 @@ dvb_eit_callback(th_dvb_mux_instance_t *tdmi, uint8_t *ptr, int len,
|
|||
return -1;
|
||||
|
||||
t = dvb_transport_find(tdmi, serviceid, 0, NULL);
|
||||
if(t == NULL)
|
||||
return 0;
|
||||
|
||||
ch = t->tht_ch;
|
||||
if(ch == NULL)
|
||||
if(t == NULL || !t->tht_enabled || (ch = t->tht_ch) == NULL)
|
||||
return 0;
|
||||
|
||||
while(len >= 12) {
|
||||
|
|
Loading…
Add table
Reference in a new issue