mpegts service: fix compilation when \!ENABLE_MPEGTS_DVB

This commit is contained in:
Jaroslav Kysela 2015-04-16 08:26:11 +02:00
parent 4e1e909946
commit b1b9b42685

View file

@ -407,10 +407,12 @@ mpegts_service_setsourceinfo(service_t *t, source_info_t *si)
if(s->s_dvb_svcname != NULL)
si->si_service = strdup(s->s_dvb_svcname);
if(m->mm_network != NULL && m->mm_network->mn_satpos != INT_MAX) {
#if ENABLE_MPEGTS_DVB
if(m->mm_network != NULL && m->mm_network->mn_satpos != INT_MAX) {
dvb_sat_position_to_str(m->mm_network->mn_satpos, buf, sizeof(buf));
si->si_satpos = strdup(buf);
}
#endif
}
/*