1
mirror of https://github.com/mpv-player/mpv synced 2024-10-06 14:54:02 +02:00

fix compilation without TV support

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9774 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2003-03-31 20:44:20 +00:00
parent a66cc22948
commit a62e8355b5

View File

@ -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);