ref: 4b5ae37cabeffb5f5501377c28687ce256ea4409
parent: 697df95fb84af23db1fcb796e43d3b8b35661aaf
author: Diego Biurrun <diego@biurrun.de>
date: Sun Mar 10 16:21:42 EDT 2013
Drop deprecated and undocumented APIs.
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+Changes between 1.2.13 and 1.3.0:
+---------------------------------
+
+ * Dropped deprecated, undocumented API:
+ - the function dvdcss_title()
+ - the type dvdcss_handle
+
+
Changes between 1.2.12 and 1.2.13:
----------------------------------
--- a/src/dvdcss/dvdcss.h
+++ b/src/dvdcss/dvdcss.h
@@ -91,16 +91,6 @@
LIBDVDCSS_EXPORT int dvdcss_is_scrambled ( dvdcss_t );
-
-/*
- * Deprecated stuff.
- */
-#ifndef _DOXYGEN_SKIP_ME
-#define dvdcss_title(a,b) dvdcss_seek(a,b,DVDCSS_SEEK_KEY)
-#define dvdcss_handle dvdcss_t
-#endif
-
-
#ifdef __cplusplus
}
#endif
--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -598,8 +598,7 @@
* This flag is typically used when reading data from a VOB.
*
* If #DVDCSS_SEEK_KEY is specified, the title key will be always checked,
- * even with the "title" method. This is equivalent to using the now
- * deprecated dvdcss_title() call. This flag is typically used when seeking
+ * even with the "title" method. This flag is typically used when seeking
* in a new title.
*/
LIBDVDCSS_EXPORT int dvdcss_seek ( dvdcss_t dvdcss, int i_blocks, int i_flags )
@@ -798,15 +797,6 @@
free( dvdcss );
return 0;
-}
-
-/*
- * Deprecated. See dvdcss_seek().
- */
-#undef dvdcss_title
-LIBDVDCSS_EXPORT int dvdcss_title ( dvdcss_t dvdcss, int i_block )
-{
- return _dvdcss_title( dvdcss, i_block );
}
/**