From: Michael R. <mr...@us...> - 2002-08-09 15:38:16
|
Update of /cvsroot/xine/xine-lib/src/input In directory usw-pr-cvs1:/tmp/cvs-serv25464 Modified Files: input_dvd.c Log Message: fix mrl parsing Index: input_dvd.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/input_dvd.c,v retrieving revision 1.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- input_dvd.c 9 Aug 2002 13:50:17 -0000 1.55 +++ input_dvd.c 9 Aug 2002 15:38:13 -0000 1.56 @@ -64,15 +64,15 @@ #endif /* Xine includes */ -#include <xineutils.h> -#include <buffer.h> -#include <xine_internal.h> +#include "xineutils.h" +#include "buffer.h" +#include "xine_internal.h" /* DVDNAV includes */ -#include <dvdnav.h> +#include "dvdnav.h" /* libdvdread includes */ -#include <nav_read.h> +#include "nav_read.h" /* Print debug messages? */ /* #define INPUT_DEBUG 1 */ @@ -387,8 +387,8 @@ this->dvd_name_length = 0; /* Check we can handle this MRL */ - if (!strncasecmp (mrl, "dvd://",9)) - locator = &mrl[9]; + if (!strncasecmp (mrl, "dvd://",6)) + locator = &mrl[6]; else { return 0; } @@ -1393,6 +1393,9 @@ /* * $Log$ + * Revision 1.56 2002/08/09 15:38:13 mroi + * fix mrl parsing + * * Revision 1.55 2002/08/09 13:50:17 heikos * seems to compile better this way :) * |