Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
00201762
Commit
00201762
authored
Dec 18, 2001
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed Win32 build. You still need --disable-directx --disable-nls though.
parent
04c1d9fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
extras/libdvdcss/ioctl.c
extras/libdvdcss/ioctl.c
+3
-3
No files found.
extras/libdvdcss/ioctl.c
View file @
00201762
...
...
@@ -2,7 +2,7 @@
* ioctl.c: DVD ioctl replacement function
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: ioctl.c,v 1.1
7 2001/12/16 18:00:18
sam Exp $
* $Id: ioctl.c,v 1.1
8 2001/12/18 02:44:34
sam Exp $
*
* Authors: Markus Kuespert <ltlBeBoy@beosmail.com>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -533,7 +533,8 @@ int ioctl_ReadTitleKey( int i_fd, int *pi_agid, int i_pos, u8 *p_key )
key
->
SessionId
=
*
pi_agid
;
key
->
KeyType
=
DvdTitleKey
;
key
->
KeyFlags
=
0
;
key
->
Parameters
.
TitleOffset
=
i_pos
;
// is this ok?
#warning "Fix ReadTitleKey for WIN32!"
//key->Parameters.TitleOffset = i_pos; // is this ok?
i_ret
=
DeviceIoControl
(
(
HANDLE
)
i_fd
,
IOCTL_DVD_READ_KEY
,
key
,
key
->
KeyLength
,
key
,
key
->
KeyLength
,
&
tmp
,
NULL
)
?
0
:
-
1
;
...
...
@@ -1461,7 +1462,6 @@ int ioctl_ReportRPC( int i_fd, int *p_type, int *p_mask, int *p_scheme )
memset
(
&
buffer
,
0
,
sizeof
(
buffer
)
);
key
->
KeyLength
=
DVD_ASF_LENGTH
;
/* correct this */
key
->
SessionId
=
*
pi_agid
;
key
->
KeyType
=
DvdGetRpcKey
;
key
->
KeyFlags
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment