[Mplayer-cvslog] CVS: 0_90/libmpdvdkit2 dvd_reader.c,1.7,1.8

Diego Biurrun CVS diego at mplayerhq.hu
Tue Aug 5 01:28:51 CEST 2003


Update of /cvsroot/mplayer/0_90/libmpdvdkit2
In directory mail:/var/tmp.root/cvs-serv9150/libmpdvdkit2

Modified Files:
	dvd_reader.c 
Log Message:
Ported from main (approved by Arpi):
10l fix by Björn Sandell <biorn at dce.chalmers.se>


Index: dvd_reader.c
===================================================================
RCS file: /cvsroot/mplayer/0_90/libmpdvdkit2/dvd_reader.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dvd_reader.c	2 May 2003 14:24:19 -0000	1.7
+++ dvd_reader.c	4 Aug 2003 23:28:49 -0000	1.8
@@ -243,7 +243,7 @@
     char *new_path;
 
     /* If it doesn't start with "/dev/" or does start with "/dev/r" exit */ 
-    if( !strncmp( path, "/dev/",  5 ) || strncmp( path, "/dev/r", 6 ) ) 
+    if( strncmp( path, "/dev/",  5 ) || !strncmp( path, "/dev/r", 6 ) ) 
       return (char *) strdup( path );
 
     /* Replace "/dev/" with "/dev/r" */



More information about the MPlayer-cvslog mailing list