[DVDnav-discuss] r1168 - in trunk/libdvdread: msvc/include/pthreads/pthread.h msvc/include/sys/time.h msvc/include/unistd.h src/dvd_reader.c src/ifo_print.c

nicodvb subversion at mplayerhq.hu
Sun Feb 15 19:30:27 CET 2009


Author: nicodvb
Date: Sun Feb 15 19:30:24 2009
New Revision: 1168

Log:
spelling fixes by Erik Hovland

Modified:
   trunk/libdvdread/msvc/include/pthreads/pthread.h
   trunk/libdvdread/msvc/include/sys/time.h
   trunk/libdvdread/msvc/include/unistd.h
   trunk/libdvdread/src/dvd_reader.c
   trunk/libdvdread/src/ifo_print.c

Modified: trunk/libdvdread/msvc/include/pthreads/pthread.h
==============================================================================
--- trunk/libdvdread/msvc/include/pthreads/pthread.h	Mon Feb  2 23:55:58 2009	(r1167)
+++ trunk/libdvdread/msvc/include/pthreads/pthread.h	Sun Feb 15 19:30:24 2009	(r1168)
@@ -196,7 +196,7 @@ extern "C"
  *                              pthread_attr_setstackaddr
  *
  * _POSIX_THREAD_PRIORITY_SCHEDULING (set)
- *                      If set, you can use realtime scheduling.
+ *                      If set, you can use real-time scheduling.
  *                      Indicates the availability of:
  *                              pthread_attr_getinheritsched
  *                              pthread_attr_getschedparam
@@ -393,7 +393,7 @@ enum {
   PTHREAD_SCOPE_SYSTEM          = 1,  /* Default */
 
 /*
- * pthread_setcancelstate paramters
+ * pthread_setcancelstate parameters
  */
   PTHREAD_CANCEL_ENABLE         = 0,  /* Default */
   PTHREAD_CANCEL_DISABLE        = 1,
@@ -420,7 +420,7 @@ enum {
 /*
  * ====================
  * ====================
- * Cancelation
+ * Cancellation
  * ====================
  * ====================
  */

Modified: trunk/libdvdread/msvc/include/sys/time.h
==============================================================================
--- trunk/libdvdread/msvc/include/sys/time.h	Mon Feb  2 23:55:58 2009	(r1167)
+++ trunk/libdvdread/msvc/include/sys/time.h	Sun Feb 15 19:30:24 2009	(r1168)
@@ -20,7 +20,7 @@
  * WIN32 PORT,
  * by Matthew Grooms <elon at altavista.com>
  *
- * sys/time.h - There is no seperate sys/time.h for win32 so we simply
+ * sys/time.h - There is no separate sys/time.h for win32 so we simply
  *              include the standard time header as well as our xine
  *                              timer functions.
  */

Modified: trunk/libdvdread/msvc/include/unistd.h
==============================================================================
--- trunk/libdvdread/msvc/include/unistd.h	Mon Feb  2 23:55:58 2009	(r1167)
+++ trunk/libdvdread/msvc/include/unistd.h	Sun Feb 15 19:30:24 2009	(r1168)
@@ -21,7 +21,7 @@
  * by Matthew Grooms <elon at altavista.com>
  *
  * unistd.h - This is mostly a catch all header that maps standard unix
- *            libc calls to the equivelent win32 functions.
+ *            libc calls to the equivalent win32 functions.
  *
  */
 
@@ -63,7 +63,7 @@
 #define snprintf _snprintf
 #define vsnprintf _vsnprintf
 
-// FIXME : I dont remember why this is here
+// FIXME : I don't remember why this is here
 #define readlink
 
 #endif

Modified: trunk/libdvdread/src/dvd_reader.c
==============================================================================
--- trunk/libdvdread/src/dvd_reader.c	Mon Feb  2 23:55:58 2009	(r1167)
+++ trunk/libdvdread/src/dvd_reader.c	Sun Feb 15 19:30:24 2009	(r1168)
@@ -249,7 +249,7 @@ static dvd_reader_t *DVDOpenImageFile( c
 
   if( have_css ) {
     /* Only if DVDCSS_METHOD = title, a bit if it's disc or if
-     * DVDCSS_METHOD = key but region missmatch. Unfortunaly we
+     * DVDCSS_METHOD = key but region mismatch. Unfortunately we
      * don't have that information. */
 
     dvd->css_state = 1; /* Need key init. */
@@ -304,7 +304,7 @@ static char *sun_block2char( const char 
 #endif
 
 #if defined(SYS_BSD)
-/* FreeBSD /dev/(r)(a)cd0c (a is for atapi), recomended to _not_ use r
+/* FreeBSD /dev/(r)(a)cd0c (a is for atapi), recommended to _not_ use r
    OpenBSD /dev/rcd0c, it needs to be the raw device
    NetBSD  /dev/rcd0[d|c|..] d for x86, c (for non x86), perhaps others
    Darwin  /dev/rdisk0,  it needs to be the raw device
@@ -415,7 +415,7 @@ dvd_reader_t *DVDOpen( const char *ppath
 #ifndef WIN32 /* don't have fchdir, and getcwd( NULL, ... ) is strange */
               /* Also WIN32 does not have symlinks, so we don't need this bit of code. */
 
-    /* Resolve any symlinks and get the absolut dir name. */
+    /* Resolve any symlinks and get the absolute dir name. */
     {
       char *new_path;
       int cdir = open( ".", O_RDONLY );
@@ -438,7 +438,7 @@ dvd_reader_t *DVDOpen( const char *ppath
 
     /**
      * If we're being asked to open a directory, check if that directory
-     * is the mountpoint for a DVD-ROM which we can use instead.
+     * is the mount point for a DVD-ROM which we can use instead.
      */
 
     if( strlen( path_copy ) > 1 ) {

Modified: trunk/libdvdread/src/ifo_print.c
==============================================================================
--- trunk/libdvdread/src/ifo_print.c	Mon Feb  2 23:55:58 2009	(r1167)
+++ trunk/libdvdread/src/ifo_print.c	Sun Feb 15 19:30:24 2009	(r1168)
@@ -130,7 +130,7 @@ static void ifo_print_video_attributes(i
     printf("(please send a bug report), ");
   }
 
-  // Wide is allways allowed..!!!
+  // Wide is always allowed..!!!
   switch(attr->permitted_df) {
   case 0:
     printf("pan&scan+letterboxed, ");
@@ -328,7 +328,7 @@ static void ifo_print_audio_attributes(i
   case 1: // Normal audio
     printf("Normal Caption ");
     break;
-  case 2: // visually imparied
+  case 2: // visually impaired
     printf("Audio for visually impaired ");
     break;
   case 3: // Directors 1
@@ -685,7 +685,7 @@ static void ifoPrint_CELL_PLAYBACK(cell_
         break;
       case 2:
       case 3:
-        printf("(send bug repport) ");
+        printf("(send bug report) ");
         break;
       }
     }
@@ -781,7 +781,7 @@ void ifoPrint_PGC(pgc_t *pgc) {
     }
   }
 
-  /* Memmory offsets to div. tables. */
+  /* Memory offsets to div. tables. */
   ifoPrint_PGC_COMMAND_TBL(pgc->command_tbl);
   ifoPrint_PGC_PROGRAM_MAP(pgc->program_map, pgc->nr_of_programs);
   ifoPrint_CELL_PLAYBACK(pgc->cell_playback, pgc->nr_of_cells);
@@ -806,7 +806,7 @@ void ifoPrint_TT_SRPT(tt_srpt_t *tt_srpt
     printf("\tTitle playback type: (%02x)\n",
            *(uint8_t *)&(tt_srpt->title[i].pb_ty));
     printf("\t\t%s\n",
-           tt_srpt->title[i].pb_ty.multi_or_random_pgc_title ? "Random or Shuffle" : "Sequencial");
+           tt_srpt->title[i].pb_ty.multi_or_random_pgc_title ? "Random or Shuffle" : "Sequential");
     if (tt_srpt->title[i].pb_ty.jlc_exists_in_cell_cmd) printf("\t\tJump/Link/Call exists in cell cmd\n");
     if (tt_srpt->title[i].pb_ty.jlc_exists_in_prepost_cmd) printf("\t\tJump/Link/Call exists in pre/post cmd\n");
     if (tt_srpt->title[i].pb_ty.jlc_exists_in_button_cmd) printf("\t\tJump/Link/Call exists in button cmd\n");
@@ -1109,7 +1109,7 @@ void ifo_print(dvd_reader_t *dvd, int ti
       printf("No PGCI Unit table present\n");
     }
 
-    printf("\nParental Manegment Information table\n");
+    printf("\nParental Management Information table\n");
     printf(  "------------------------------------\n");
     if(ifohandle->ptl_mait) {
       ifoPrint_PTL_MAIT(ifohandle->ptl_mait);
@@ -1129,12 +1129,12 @@ void ifo_print(dvd_reader_t *dvd, int ti
       printf("No Text Data Manager Information present\n");
     }
 
-    printf("\nMenu Cell Adress table\n");
+    printf("\nMenu Cell Address table\n");
     printf(  "-----------------\n");
     if(ifohandle->menu_c_adt) {
       ifoPrint_C_ADT(ifohandle->menu_c_adt);
     } else {
-      printf("No Menu Cell Adress table present\n");
+      printf("No Menu Cell Address table present\n");
     }
 
     printf("\nVideo Manager Menu VOBU address map\n");
@@ -1176,12 +1176,12 @@ void ifo_print(dvd_reader_t *dvd, int ti
       printf("No VTS Time Map table present\n");
     }
 
-    printf("\nMenu Cell Adress table\n");
+    printf("\nMenu Cell Address table\n");
     printf(  "-----------------\n");
     if(ifohandle->menu_c_adt) {
       ifoPrint_C_ADT(ifohandle->menu_c_adt);
     } else {
-      printf("No Cell Adress table present\n");
+      printf("No Cell Address table present\n");
     }
 
     printf("\nVideo Title Set Menu VOBU address map\n");



More information about the DVDnav-discuss mailing list