Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts service: fix warning when \!ENABLE_MPEGTS_DVB, fixes #2370
  • Loading branch information
perexg committed Oct 14, 2014
1 parent c655c06 commit 73bf840
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/input/mpegts/mpegts_service.c
Expand Up @@ -403,10 +403,9 @@ mpegts_service_provider_name ( service_t *s )
static const char *
mpegts_service_channel_icon ( service_t *s )
{
mpegts_service_t *ms = (mpegts_service_t*)s;

/* DVB? */
#if ENABLE_MPEGTS_DVB
mpegts_service_t *ms = (mpegts_service_t*)s;
extern const idclass_t dvb_mux_class;
if (ms->s_dvb_mux &&
idnode_is_instance(&ms->s_dvb_mux->mm_id, &dvb_mux_class)) {
Expand Down

0 comments on commit 73bf840

Please sign in to comment.