mirror of https://github.com/mpv-player/mpv
Ported from videolan CVS:
grmblgrmbl!! Fixed a bug that prevented encrypted dvds from working under win32. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10442 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fcc160e01c
commit
de628dab79
|
@ -135,7 +135,7 @@ int _dvdcss_open ( dvdcss_t dvdcss )
|
|||
|
||||
#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;
|
||||
|
|
Loading…
Reference in New Issue