[MPlayer-cvslog] r20431 - in trunk/libmpdvdkit2: common.h device.h libdvdcss.c

diego subversion at mplayerhq.hu
Tue Oct 24 19:30:11 CEST 2006


Author: diego
Date: Tue Oct 24 19:30:11 2006
New Revision: 20431

Modified:
   trunk/libmpdvdkit2/common.h
   trunk/libmpdvdkit2/device.h
   trunk/libmpdvdkit2/libdvdcss.c

Log:
Sync cosmetics from upstream libdvdcss.


Modified: trunk/libmpdvdkit2/common.h
==============================================================================
--- trunk/libmpdvdkit2/common.h	(original)
+++ trunk/libmpdvdkit2/common.h	Tue Oct 24 19:30:11 2006
@@ -49,13 +49,13 @@
 
 #if defined( WIN32 )
 
-#ifndef PATH_MAX
-#   define PATH_MAX MAX_PATH
-#endif
+#   ifndef PATH_MAX
+#      define PATH_MAX MAX_PATH
+#   endif
 
 /* several type definitions */
 #   if defined( __MINGW32__ )
-#define lseek _lseeki64
+#       define lseek _lseeki64
 #       if !defined( _OFF_T_ )
 typedef long long _off_t;
 typedef _off_t off_t;

Modified: trunk/libmpdvdkit2/device.h
==============================================================================
--- trunk/libmpdvdkit2/device.h	(original)
+++ trunk/libmpdvdkit2/device.h	Tue Oct 24 19:30:11 2006
@@ -44,9 +44,9 @@
 /*****************************************************************************
  * Device reading prototypes
  *****************************************************************************/
-int _dvdcss_use_ioctls ( dvdcss_t );
-int _dvdcss_open       ( dvdcss_t );
-int _dvdcss_close      ( dvdcss_t );
+int  _dvdcss_use_ioctls ( dvdcss_t );
+int  _dvdcss_open       ( dvdcss_t );
+int  _dvdcss_close      ( dvdcss_t );
 
 /*****************************************************************************
  * Device reading prototypes, raw-device specific

Modified: trunk/libmpdvdkit2/libdvdcss.c
==============================================================================
--- trunk/libmpdvdkit2/libdvdcss.c	(original)
+++ trunk/libmpdvdkit2/libdvdcss.c	Tue Oct 24 19:30:11 2006
@@ -159,7 +159,7 @@
  * and when possible, the disc key is retrieved.
  *
  * 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 )
 {
@@ -550,14 +550,14 @@
 }
 
 /**
- * \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.
  *
  * \param dvdcss a \e libdvdcss instance.
  * \return a null-terminated string containing the latest error message.
  *
  * 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.
  */
 extern char * dvdcss_error ( dvdcss_t dvdcss )



More information about the MPlayer-cvslog mailing list