Mercurial > mplayer.hg
comparison libmpdvdkit2/device.c @ 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 | f0f0f176d298 |
children | 5dc4583b1901 |
comparison
equal
deleted
inserted
replaced
10440:890f35b31edd | 10441:002e7a679a05 |
---|---|
133 psz_debug[199] = '\0'; | 133 psz_debug[199] = '\0'; |
134 _dvdcss_debug( dvdcss, psz_debug ); | 134 _dvdcss_debug( dvdcss, psz_debug ); |
135 | 135 |
136 #if defined( WIN32 ) | 136 #if defined( WIN32 ) |
137 /* If device is not "X:", we are actually opening a file. */ | 137 /* If device is not "X:", we are actually opening a file. */ |
138 dvdcss->b_file = !psz_device[0] || psz_device[1] != ':' || psz_device[3]; | 138 dvdcss->b_file = !psz_device[0] || psz_device[1] != ':' || psz_device[2]; |
139 | 139 |
140 /* Initialize readv temporary buffer */ | 140 /* Initialize readv temporary buffer */ |
141 dvdcss->p_readv_buffer = NULL; | 141 dvdcss->p_readv_buffer = NULL; |
142 dvdcss->i_readv_buf_size = 0; | 142 dvdcss->i_readv_buf_size = 0; |
143 | 143 |