mirror of https://github.com/mpv-player/mpv
Sync cosmetics from upstream libdvdcss.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20431 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3c74d81a65
commit
f0b2190efa
|
@ -49,13 +49,13 @@
|
||||||
|
|
||||||
#if defined( WIN32 )
|
#if defined( WIN32 )
|
||||||
|
|
||||||
#ifndef PATH_MAX
|
# ifndef PATH_MAX
|
||||||
# define PATH_MAX MAX_PATH
|
# define PATH_MAX MAX_PATH
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
/* several type definitions */
|
/* several type definitions */
|
||||||
# if defined( __MINGW32__ )
|
# if defined( __MINGW32__ )
|
||||||
#define lseek _lseeki64
|
# define lseek _lseeki64
|
||||||
# if !defined( _OFF_T_ )
|
# if !defined( _OFF_T_ )
|
||||||
typedef long long _off_t;
|
typedef long long _off_t;
|
||||||
typedef _off_t off_t;
|
typedef _off_t off_t;
|
||||||
|
|
|
@ -44,9 +44,9 @@ struct iovec
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Device reading prototypes
|
* Device reading prototypes
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
int _dvdcss_use_ioctls ( dvdcss_t );
|
int _dvdcss_use_ioctls ( dvdcss_t );
|
||||||
int _dvdcss_open ( dvdcss_t );
|
int _dvdcss_open ( dvdcss_t );
|
||||||
int _dvdcss_close ( dvdcss_t );
|
int _dvdcss_close ( dvdcss_t );
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Device reading prototypes, raw-device specific
|
* Device reading prototypes, raw-device specific
|
||||||
|
|
|
@ -159,7 +159,7 @@ char * dvdcss_interface_2 = VERSION;
|
||||||
* and when possible, the disc key is retrieved.
|
* and when possible, the disc key is retrieved.
|
||||||
*
|
*
|
||||||
* dvdcss_open() returns a handle to be used for all subsequent \e libdvdcss
|
* dvdcss_open() returns a handle to be used for all subsequent \e libdvdcss
|
||||||
* calls. If an error occured, NULL is returned.
|
* calls. If an error occurred, NULL is returned.
|
||||||
*/
|
*/
|
||||||
extern dvdcss_t dvdcss_open ( char *psz_target )
|
extern dvdcss_t dvdcss_open ( char *psz_target )
|
||||||
{
|
{
|
||||||
|
@ -550,14 +550,14 @@ extern dvdcss_t dvdcss_open ( char *psz_target )
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Return a string containing the latest error that occured in the
|
* \brief Return a string containing the latest error that occurred in the
|
||||||
* given \e libdvdcss instance.
|
* given \e libdvdcss instance.
|
||||||
*
|
*
|
||||||
* \param dvdcss a \e libdvdcss instance.
|
* \param dvdcss a \e libdvdcss instance.
|
||||||
* \return a null-terminated string containing the latest error message.
|
* \return a null-terminated string containing the latest error message.
|
||||||
*
|
*
|
||||||
* This function returns a constant string containing the latest error that
|
* This function returns a constant string containing the latest error that
|
||||||
* occured in \e libdvdcss. It can be used to format error messages at your
|
* occurred in \e libdvdcss. It can be used to format error messages at your
|
||||||
* convenience in your application.
|
* convenience in your application.
|
||||||
*/
|
*/
|
||||||
extern char * dvdcss_error ( dvdcss_t dvdcss )
|
extern char * dvdcss_error ( dvdcss_t dvdcss )
|
||||||
|
|
Loading…
Reference in New Issue