If DVB servicename is empty, at least come up with something.

This commit is contained in:
Andreas Öman 2008-04-09 16:22:56 +00:00
parent b86e40a8d9
commit 8221e3d052

View file

@ -389,6 +389,11 @@ dvb_sdt_callback(th_dvb_mux_instance_t *tdmi, uint8_t *ptr, int len,
l--;
}
if(l == 0) {
chname = chname0;
snprintf(chname0, sizeof(chname0), "noname-sid-0x%x", service_id);
}
t = dvb_find_transport(tdmi, service_id, 0);
if(t == NULL)
break;