changeset 10441:002e7a679a05

Ported from videolan CVS: grmblgrmbl!! Fixed a bug that prevented encrypted dvds from working under win32.
author diego
date Sat, 19 Jul 2003 17:28:17 +0000
parents 890f35b31edd
children d532fa79b0be
files libmpdvdkit2/device.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdvdkit2/device.c	Sat Jul 19 12:25:18 2003 +0000
+++ b/libmpdvdkit2/device.c	Sat Jul 19 17:28:17 2003 +0000
@@ -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;