[Mplayer-cvslog] CVS: main/libmpdvdkit2 device.c,1.4,1.5

Diego Biurrun CVS diego at mplayerhq.hu
Sat Jul 19 19:28:39 CEST 2003


Update of /cvsroot/mplayer/main/libmpdvdkit2
In directory mail:/var/tmp.root/cvs-serv30802/libmpdvdkit2

Modified Files:
	device.c 
Log Message:
Ported from videolan CVS:

grmblgrmbl!! Fixed a bug that prevented encrypted dvds
from working under win32.


Index: device.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdvdkit2/device.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- device.c	8 Feb 2003 00:22:38 -0000	1.4
+++ device.c	19 Jul 2003 17:28:17 -0000	1.5
@@ -135,7 +135,7 @@
 
 #if defined( WIN32 )
     /* If device is not "X:", we are actually opening a file. */
-    dvdcss->b_file = !psz_device[0] || psz_device[1] != ':' || psz_device[3];
+    dvdcss->b_file = !psz_device[0] || psz_device[1] != ':' || psz_device[2];
 
     /* Initialize readv temporary buffer */
     dvdcss->p_readv_buffer   = NULL;



More information about the MPlayer-cvslog mailing list