mf demuxer only works with mf:// urls, so check for that.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22101 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-02-01 20:31:40 +00:00
parent f72beec4da
commit 596ab5d0fb
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ static demuxer_t* demux_open_mf(demuxer_t* demuxer){
mf_t *mf = NULL;
if(!demuxer->stream->url) return NULL;
if(strncmp(demuxer->stream->url, "mf://", 5)) return NULL;
mf=open_mf(demuxer->stream->url + 5);