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
e160ea97
Commit
e160ea97
authored
Nov 02, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* libdvdcss port to OpenBSD.
parent
b6fcfff5
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
93 additions
and
66 deletions
+93
-66
configure
configure
+67
-60
configure.in
configure.in
+6
-1
extras/libdvdcss/ioctl.h
extras/libdvdcss/ioctl.h
+12
-1
include/defs.h.in
include/defs.h.in
+6
-3
src/input/input.c
src/input/input.c
+2
-1
No files found.
configure
View file @
e160ea97
This diff is collapsed.
Click to expand it.
configure.in
View file @
e160ea97
...
@@ -405,6 +405,7 @@ AC_CHECK_HEADERS(sys/ioctl.h,[
...
@@ -405,6 +405,7 @@ AC_CHECK_HEADERS(sys/ioctl.h,[
AC_CHECK_HEADERS(sys/cdio.h sys/dvdio.h linux/cdrom.h dvd.h)
AC_CHECK_HEADERS(sys/cdio.h sys/dvdio.h linux/cdrom.h dvd.h)
BSD_DVD_STRUCT=0
BSD_DVD_STRUCT=0
LINUX_DVD_STRUCT=0
LINUX_DVD_STRUCT=0
OPENBSD_DVD_STRUCT=0
dnl
dnl
dnl Old FreeBSD: sys/cdio.h
dnl Old FreeBSD: sys/cdio.h
dnl
dnl
...
@@ -412,7 +413,7 @@ AC_CHECK_HEADERS(sys/ioctl.h,[
...
@@ -412,7 +413,7 @@ AC_CHECK_HEADERS(sys/ioctl.h,[
AC_DEFINE(DVD_STRUCT_IN_SYS_CDIO_H, 1,
AC_DEFINE(DVD_STRUCT_IN_SYS_CDIO_H, 1,
Define if <sys/cdio.h> defines dvd_struct.)
Define if <sys/cdio.h> defines dvd_struct.)
AC_EGREP_HEADER(struct dvd_struct,sys/cdio.h,[
AC_EGREP_HEADER(struct dvd_struct,sys/cdio.h,[
BSD_DVD_STRUCT=1],[LINUX_DVD_STRUCT=1])
BSD_DVD_STRUCT=1],[LINUX_DVD_STRUCT=1
; OPENBSD_DVD_STRUCT=1
])
])
])
dnl
dnl
dnl Newer FreeBSD: sys/dvdio.h
dnl Newer FreeBSD: sys/dvdio.h
...
@@ -466,6 +467,10 @@ AC_CHECK_HEADERS(sys/ioctl.h,[
...
@@ -466,6 +467,10 @@ AC_CHECK_HEADERS(sys/ioctl.h,[
if test x$LINUX_DVD_STRUCT = x1; then
if test x$LINUX_DVD_STRUCT = x1; then
AC_DEFINE(HAVE_LINUX_DVD_STRUCT, 1,
AC_DEFINE(HAVE_LINUX_DVD_STRUCT, 1,
Define if Linux-like dvd_struct is defined.)
Define if Linux-like dvd_struct is defined.)
if test x$OPENBSD_DVD_STRUCT = x1; then
AC_DEFINE(HAVE_OPENBSD_DVD_STRUCT, 1,
Define if OpenBSD-like dvd_struct is defined.)
fi
else
else
if test x$BSD_DVD_STRUCT = x1; then
if test x$BSD_DVD_STRUCT = x1; then
AC_DEFINE(HAVE_BSD_DVD_STRUCT, 1,
AC_DEFINE(HAVE_BSD_DVD_STRUCT, 1,
...
...
extras/libdvdcss/ioctl.h
View file @
e160ea97
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* ioctl.h: DVD ioctl replacement function
* ioctl.h: DVD ioctl replacement function
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: ioctl.h,v 1.
7 2001/10/13 15:34:21 stef
Exp $
* $Id: ioctl.h,v 1.
8 2001/11/02 13:30:38 massiot
Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
*
*
...
@@ -114,6 +114,17 @@ int ioctl_SendKey2 ( int, int *, u8 * );
...
@@ -114,6 +114,17 @@ int ioctl_SendKey2 ( int, int *, u8 * );
# define DVD_INVALIDATE_AGID 0x3f
# define DVD_INVALIDATE_AGID 0x3f
#endif
#endif
#if defined( HAVE_OPENBSD_DVD_STRUCT )
/*****************************************************************************
* OpenBSD ioctl specific
*****************************************************************************/
typedef
union
dvd_struct
dvd_struct
;
typedef
union
dvd_authinfo
dvd_authinfo
;
typedef
u_int8_t
dvd_key
[
5
];
typedef
u_int8_t
dvd_challenge
[
10
];
#endif
#if defined( WIN32 )
#if defined( WIN32 )
/*****************************************************************************
/*****************************************************************************
...
...
include/defs.h.in
View file @
e160ea97
/* include/defs.h.in. Generated automatically from configure.in by autoheader
2.13
. */
/* include/defs.h.in. Generated automatically from configure.in by autoheader. */
/* Define to empty if the keyword does not work. */
/* Define to empty if the keyword does not work. */
#undef const
#undef const
...
@@ -67,8 +67,8 @@
...
@@ -67,8 +67,8 @@
/* Define if you have the </sys/dev/scsi/scsi_ioctl.h> header file. */
/* Define if you have the </sys/dev/scsi/scsi_ioctl.h> header file. */
#undef HAVE__SYS_DEV_SCSI_SCSI_IOCTL_H
#undef HAVE__SYS_DEV_SCSI_SCSI_IOCTL_H
/* Define if you have the <C
arbon/Carbon
.h> header file. */
/* Define if you have the <C
ocoa/Cocoa
.h> header file. */
#undef HAVE_C
ARBON_CARBON
_H
#undef HAVE_C
OCOA_COCOA
_H
/* Define if you have the <Ph.h> header file. */
/* Define if you have the <Ph.h> header file. */
#undef HAVE_PH_H
#undef HAVE_PH_H
...
@@ -235,6 +235,9 @@
...
@@ -235,6 +235,9 @@
/* Define if Linux-like dvd_struct is defined. */
/* Define if Linux-like dvd_struct is defined. */
#undef HAVE_LINUX_DVD_STRUCT
#undef HAVE_LINUX_DVD_STRUCT
/* Define if OpenBSD-like dvd_struct is defined. */
#undef HAVE_OPENBSD_DVD_STRUCT
/* Define if FreeBSD-like dvd_struct is defined. */
/* Define if FreeBSD-like dvd_struct is defined. */
#undef HAVE_BSD_DVD_STRUCT
#undef HAVE_BSD_DVD_STRUCT
...
...
src/input/input.c
View file @
e160ea97
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* decoders.
* decoders.
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: input.c,v 1.14
8 2001/11/01 15:30:50 sam
Exp $
* $Id: input.c,v 1.14
9 2001/11/02 13:30:38 massiot
Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
*
...
@@ -87,6 +87,7 @@
...
@@ -87,6 +87,7 @@
static
void
RunThread
(
input_thread_t
*
p_input
);
static
void
RunThread
(
input_thread_t
*
p_input
);
static
int
InitThread
(
input_thread_t
*
p_input
);
static
int
InitThread
(
input_thread_t
*
p_input
);
static
void
ErrorThread
(
input_thread_t
*
p_input
);
static
void
ErrorThread
(
input_thread_t
*
p_input
);
static
void
CloseThread
(
input_thread_t
*
p_input
);
static
void
DestroyThread
(
input_thread_t
*
p_input
);
static
void
DestroyThread
(
input_thread_t
*
p_input
);
static
void
EndThread
(
input_thread_t
*
p_input
);
static
void
EndThread
(
input_thread_t
*
p_input
);
...
...
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