From bf056ecebb101e3be4f3a08a42e74870a57d1654 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Fri, 29 Mar 2002 19:56:57 +0000 Subject: Improved playing of streams from mozilla browser. CVS patchset: 1645 CVS date: 2002/03/29 19:56:57 --- src/input/input_mms.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/input/input_mms.c') diff --git a/src/input/input_mms.c b/src/input/input_mms.c index 0c78e3c7f..3822d87e6 100644 --- a/src/input/input_mms.c +++ b/src/input/input_mms.c @@ -78,12 +78,18 @@ static int mms_plugin_open (input_plugin_t *this_gen, char *mrl) { char* nmrl=NULL; char* uptr; + int error_id; mms_input_plugin_t *this = (mms_input_plugin_t *) this_gen; - if (!asx_parse (mrl,&nmrl)) - nmrl = mrl; + error_id=asx_parse(mrl,&nmrl); + if(error_id) + return 0; + + if(!nmrl) + nmrl=mrl; + printf("mms_plugin_open: using mrl <%s> \n", nmrl); uptr=strdup(nmrl); -- cgit v1.2.3