Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
15ca5a44
Commit
15ca5a44
authored
Apr 11, 2001
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Forgot a BeOS patch on previous commit.
parent
8ee3c601
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
plugins/dvd/dvd_ioctl.c
plugins/dvd/dvd_ioctl.c
+5
-5
No files found.
plugins/dvd/dvd_ioctl.c
View file @
15ca5a44
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* dvd_ioctl.c: DVD ioctl replacement function
* dvd_ioctl.c: DVD ioctl replacement function
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: dvd_ioctl.c,v 1.
9 2001/04/11 04:31:59
sam Exp $
* $Id: dvd_ioctl.c,v 1.
10 2001/04/11 04:46:18
sam Exp $
*
*
* Authors: Markus Kuespert <ltlBeBoy@beosmail.com>
* Authors: Markus Kuespert <ltlBeBoy@beosmail.com>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -63,11 +63,11 @@
...
@@ -63,11 +63,11 @@
* Local prototypes - BeOS specific
* Local prototypes - BeOS specific
*****************************************************************************/
*****************************************************************************/
#if defined( SYS_BEOS )
#if defined( SYS_BEOS )
static
void
BeInitRDC
(
raw_device_command
*
,
void
*
,
int
);
static
void
BeInitRDC
(
raw_device_command
*
,
void
*
,
int
,
int
);
#define INIT_RDC( TYPE, SIZE ) \
#define INIT_RDC( TYPE, SIZE ) \
raw_device_command rdc; \
raw_device_command rdc; \
u8 p_buffer[ (SIZE) ]; \
u8 p_buffer[ (SIZE) ]; \
BeInitRDC( &rdc, p_buffer, (
SIZE), (TYP
E) );
BeInitRDC( &rdc, p_buffer, (
TYPE), (SIZ
E) );
#endif
#endif
/*****************************************************************************
/*****************************************************************************
...
@@ -417,7 +417,7 @@ int ioctl_HostSendKey2( int i_fd, int *pi_agid, u8 *p_key )
...
@@ -417,7 +417,7 @@ int ioctl_HostSendKey2( int i_fd, int *pi_agid, u8 *p_key )
* use, either a read command or a write command.
* use, either a read command or a write command.
*****************************************************************************/
*****************************************************************************/
static
void
BeInitRDC
(
raw_device_command
*
p_rdc
,
static
void
BeInitRDC
(
raw_device_command
*
p_rdc
,
void
*
p_buffer
,
int
i_
len
,
int
i_type
)
void
*
p_buffer
,
int
i_
type
,
int
i_len
)
{
{
memset
(
p_rdc
,
0
,
sizeof
(
raw_device_command
)
);
memset
(
p_rdc
,
0
,
sizeof
(
raw_device_command
)
);
memset
(
p_buffer
,
0
,
i_len
);
memset
(
p_buffer
,
0
,
i_len
);
...
@@ -430,7 +430,7 @@ static void BeInitRDC( raw_device_command *p_rdc,
...
@@ -430,7 +430,7 @@ static void BeInitRDC( raw_device_command *p_rdc,
case
GPCMD_READ_DVD_STRUCTURE
:
case
GPCMD_READ_DVD_STRUCTURE
:
case
GPCMD_REPORT_KEY
:
case
GPCMD_REPORT_KEY
:
p_rdc
.
flags
=
B_RAW_DEVICE_DATA_IN
;
p_rdc
->
flags
=
B_RAW_DEVICE_DATA_IN
;
break
;
break
;
}
}
...
...
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