mirror of
https://github.com/mpv-player/mpv
synced 2025-02-06 07:01:45 +00:00
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:
parent
f72beec4da
commit
596ab5d0fb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user