[Diego Biurrun <diego at biurrun.de>] [PATCH] MPlayer changes to libdvdcss

Christophe Massiot massiot at via.ecp.fr
Tue Jul 5 15:30:33 CEST 2005


On Tue, Jul 05, 2005, Wout Mertens wrote:
> 
> On 05 Jul 2005, at 00:59, Christophe Massiot wrote:
> 
> >> #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[2];
> >>+    dvdcss->b_file = 1;
> >>+    /* If device is "X:" or "X:\", we are not actually opening a 
> >>file. */
> >>+    if (psz_device[0] && psz_device[1] == ':' &&
> >>+       (!psz_device[2] || (psz_device[2] == '\\' && !psz_device[3])))
> >>+        dvdcss->b_file = 0;
> >>
> >>     /* Initialize readv temporary buffer */
> >>     dvdcss->p_readv_buffer   = NULL;
> >
> >This breaks reading DVD devices on Win32.
> 
> Does it? Seems to me that it just adds a check for X:\ ...
> 
> (Not that I know anything about libdvdcss, I'm just a lurker ;-) )

Sorry, you're right, I misread the patch yesterday night...

-- 
Christophe Massiot.

-- 
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the libdvdcss-devel mailing list