Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts service: fix compilation when \!ENABLE_MPEGTS_DVB
  • Loading branch information
perexg committed Apr 16, 2015
1 parent 4e1e909 commit b1b9b42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/input/mpegts/mpegts_service.c
Expand Up @@ -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
}

/*
Expand Down

0 comments on commit b1b9b42

Please sign in to comment.