summaryrefslogtreecommitdiff
path: root/src/input/input_cda.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-11-01 17:51:57 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-11-01 17:51:57 +0000
commit74b5765b92981e87938a11b281b366422606d8b1 (patch)
treeeb4b6a77ead065083a5a5363d4cbcd1c53d1a660 /src/input/input_cda.c
parent1c97f04c7a1a6b1dbab373bc9b781eb5f35b9d12 (diff)
downloadxine-lib-74b5765b92981e87938a11b281b366422606d8b1.tar.gz
xine-lib-74b5765b92981e87938a11b281b366422606d8b1.tar.bz2
be less strict with MRL syntax, people are used to ://
CVS patchset: 3128 CVS date: 2002/11/01 17:51:57
Diffstat (limited to 'src/input/input_cda.c')
-rw-r--r--src/input/input_cda.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/input_cda.c b/src/input/input_cda.c
index e7dca01dc..7eaae43a9 100644
--- a/src/input/input_cda.c
+++ b/src/input/input_cda.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_cda.c,v 1.36 2002/10/31 17:00:44 mroi Exp $
+ * $Id: input_cda.c,v 1.37 2002/11/01 17:51:57 mroi Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1397,6 +1397,7 @@ static int cda_plugin_open (input_plugin_t *this_gen, const char *mrl) {
}
filename = (char *) &this->mrl[5];
+ while (*filename == '/') filename++;
if(sscanf(filename, "%d", &this->cda->cur_track) != 1) {
LOG_MSG_STDERR(this->xine, _("input_cda: malformed MRL. Use cda:/<track #>\n"));