summaryrefslogtreecommitdiffstats
path: root/libmpdemux/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/open.c')
-rw-r--r--libmpdemux/open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/open.c b/libmpdemux/open.c
index 808a92b793..b5f36f7d8b 100644
--- a/libmpdemux/open.c
+++ b/libmpdemux/open.c
@@ -543,10 +543,12 @@ if(strncmp("dvbin://",filename,8) == 0)
if (!stream) return(NULL);
if(strncmp("mf://",filename,5) == 0) {
*file_format = DEMUXER_TYPE_MF;
+#ifdef USE_TV
} else {
*file_format = DEMUXER_TYPE_TV;
if(filename[5] != '\0')
tv_param_channel = strdup(filename + 5);
+#endif
}
stream->url= filename[5] != '\0' ? strdup(filename + 5) : NULL;
return(stream);