changeset 22083:59982606e602

mf demuxer only works with mf:// urls, so check for that.
author reimar
date Thu, 01 Feb 2007 20:31:40 +0000
parents 4e79a2f4993f
children dcd16323df4f
files libmpdemux/demux_mf.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mf.c	Thu Feb 01 01:09:39 2007 +0000
+++ b/libmpdemux/demux_mf.c	Thu Feb 01 20:31:40 2007 +0000
@@ -67,6 +67,7 @@
   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);