From 74b5765b92981e87938a11b281b366422606d8b1 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Fri, 1 Nov 2002 17:51:57 +0000 Subject: be less strict with MRL syntax, people are used to :// CVS patchset: 3128 CVS date: 2002/11/01 17:51:57 --- src/input/input_vcd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/input/input_vcd.c') diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c index 153794773..f13a67182 100644 --- a/src/input/input_vcd.c +++ b/src/input/input_vcd.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_vcd.c,v 1.54 2002/10/31 17:00:53 mroi Exp $ + * $Id: input_vcd.c,v 1.55 2002/11/01 17:51:58 mroi Exp $ * */ @@ -364,6 +364,7 @@ static int vcd_plugin_open (input_plugin_t *this_gen, const char *mrl) { } filename = (char *) &this->mrl[5]; + while (*filename == '/') filename++; if (sscanf (filename, "%d", &this->cur_track) != 1) { LOG_MSG_STDERR(this->xine, _("input_vcd: malformed MRL. Use vcd:/\n")); -- cgit v1.2.3