Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
libdvdcss
Commits
8331d8da
Commit
8331d8da
authored
Mar 11, 2013
by
Diego Biurrun
Browse files
Drop deprecated and useless dvdcss_interface_2 variable from the API
parent
7381c95c
Changes
5
Hide whitespace changes
Inline
Side-by-side
NEWS
View file @
8331d8da
...
...
@@ -4,6 +4,7 @@ Changes between 1.2.13 and 1.3.0:
* Dropped deprecated, undocumented API:
- the function dvdcss_title()
- the type dvdcss_handle
- the variable dvdcss_interface_2
* Drop support for Windows 98 and Windows NT 4.0.
Windows 98 SE with IE 5.0 and Windows NT 4.0 SP4 with IE 5.0 are required.
...
...
src/dvdcss/dvdcss.h
View file @
8331d8da
...
...
@@ -65,11 +65,6 @@ typedef struct dvdcss_s* dvdcss_t;
#define LIBDVDCSS_EXPORT extern
#endif
/*
* Our version number. The variable name contains the interface version.
*/
LIBDVDCSS_EXPORT
char
*
dvdcss_interface_2
;
/*
* Exported prototypes.
...
...
src/libdvdcss.c
View file @
8331d8da
...
...
@@ -136,18 +136,6 @@
#define mkdir(a, b) _mkdir(a)
#endif
/**
* \brief Symbol for version checks.
*
* The name of this symbol contains the library major number, which makes it
* easy to check which \e libdvdcss development headers are installed on the
* system with tools such as autoconf.
*
* The variable itself contains the exact version number of the library,
* which can be useful for specific feature needs.
*/
char
*
dvdcss_interface_2
=
VERSION
;
/**
* \brief Open a DVD device or directory and return a dvdcss instance.
*
...
...
test/csstest.c
View file @
8331d8da
...
...
@@ -23,9 +23,6 @@ int main( int i_argc, char *ppsz_argv[] )
unsigned
int
i_sector
;
int
i_ret
;
/* Print version number */
printf
(
"cool, I found libdvdcss version %s
\n
"
,
dvdcss_interface_2
);
/* Check for 2 arguments */
if
(
i_argc
!=
3
)
{
...
...
test/dvd_region.c
View file @
8331d8da
...
...
@@ -276,9 +276,6 @@ int main(int argc, char *argv[])
return
-
1
;
}
/* Print version number */
printf
(
"found libdvdcss version %s
\n
"
,
dvdcss_interface_2
);
/* TODO: use dvdcss_open instead of open */
if
(
(
fd
=
open
(
device_name
,
O_RDONLY
|
O_NONBLOCK
))
<
0
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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