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
4c17a524
Commit
4c17a524
authored
Apr 21, 2009
by
Joris van Rooij
Committed by
Rémi Denis-Courmont
Apr 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VCD OpenBSD build fix
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
062cc17a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
modules/access/vcd/cdrom.c
modules/access/vcd/cdrom.c
+2
-2
modules/access/vcd/cdrom_internals.h
modules/access/vcd/cdrom_internals.h
+4
-4
No files found.
modules/access/vcd/cdrom.c
View file @
4c17a524
...
...
@@ -58,7 +58,7 @@
# include <IOKit/storage/IOCDMedia.h>
# include <IOKit/storage/IOCDMediaBSDClient.h>
#elif defined( HAVE_SCSIREQ_IN_SYS_SCSIIO_H )
# include <
sys/
inttypes.h>
# include <inttypes.h>
# include <sys/cdio.h>
# include <sys/scsiio.h>
#elif defined( HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H )
...
...
@@ -724,7 +724,7 @@ int ioctl_ReadSectors( vlc_object_t *p_this, const vcddev_t *p_vcddev,
sc
.
flags
=
SCCMD_READ
;
sc
.
timeout
=
10000
;
i_ret
=
ioctl
(
i_fd
,
SCIOCCOMMAND
,
&
sc
);
i_ret
=
ioctl
(
p_vcddev
->
i_device_handle
,
SCIOCCOMMAND
,
&
sc
);
if
(
i_ret
==
-
1
)
{
msg_Err
(
p_this
,
"SCIOCCOMMAND failed"
);
...
...
modules/access/vcd/cdrom_internals.h
View file @
4c17a524
...
...
@@ -147,10 +147,6 @@ typedef struct _CDROM_READ_TOC_EX {
#define SRB_EVENT_NOTIFY 0x40
#define READ_CD 0xbe
#define SECTOR_TYPE_MODE2_FORM2 0x14
#define SECTOR_TYPE_CDDA 0x04
#define READ_CD_RAW_MODE2 0xF0
#define READ_CD_USERDATA 0x10
#define READ_TOC 0x43
#define READ_TOC_FORMAT_TOC 0x0
...
...
@@ -211,6 +207,10 @@ struct SRB_ExecSCSICmd
#pragma pack()
#endif
/* WIN32 */
#define SECTOR_TYPE_MODE2_FORM2 0x14
#define SECTOR_TYPE_CDDA 0x04
#define READ_CD_RAW_MODE2 0xF0
#define READ_CD_USERDATA 0x10
/*****************************************************************************
* Local Prototypes
...
...
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