[MPlayer-cvslog] r24615 - in trunk: DOCS/tech/mpdsf.txt TOOLS/netstream.c libaf/af_format.h libaf/af_format_alaw.c libaf/af_format_ulaw.c libaf/af_resample.c libaf/af_resample.h libaf/format.c libao2/ao_sgi.c libvo/sub.c libvo/vo_xvmc.c stream/freesdp/parser.c

diego subversion at mplayerhq.hu
Tue Sep 25 18:34:24 CEST 2007


Author: diego
Date: Tue Sep 25 18:34:23 2007
New Revision: 24615

Log:
cosmetics: misc typo fixes


Modified:
   trunk/DOCS/tech/mpdsf.txt
   trunk/TOOLS/netstream.c
   trunk/libaf/af_format.h
   trunk/libaf/af_format_alaw.c
   trunk/libaf/af_format_ulaw.c
   trunk/libaf/af_resample.c
   trunk/libaf/af_resample.h
   trunk/libaf/format.c
   trunk/libao2/ao_sgi.c
   trunk/libvo/sub.c
   trunk/libvo/vo_xvmc.c
   trunk/stream/freesdp/parser.c

Modified: trunk/DOCS/tech/mpdsf.txt
==============================================================================
--- trunk/DOCS/tech/mpdsf.txt	(original)
+++ trunk/DOCS/tech/mpdsf.txt	Tue Sep 25 18:34:23 2007
@@ -16,7 +16,7 @@ The file starts with a variable size hea
 		0x4:  BITMAPINFOHEADER
 		0x8:  QT's ImageDesc
 		0x16: indicates 32-bit chunk size before every data chunk
-16-bit	Lenght of headers
+16-bit	Length of headers
 
 There's strict rule in the follow-up of the codec-headers.
 Depending on flags,

Modified: trunk/TOOLS/netstream.c
==============================================================================
--- trunk/TOOLS/netstream.c	(original)
+++ trunk/TOOLS/netstream.c	Tue Sep 25 18:34:23 2007
@@ -120,7 +120,7 @@ static int net_stream_fill_buffer(client
     return 1;
   }
   if(max_len == 0) {
-    if(!write_error(cl->fd,"Fill buffer called with 0 lenght\n"))
+    if(!write_error(cl->fd,"Fill buffer called with 0 length\n"))
       return 0;
     return 1;
   }

Modified: trunk/libaf/af_format.h
==============================================================================
--- trunk/libaf/af_format.h	(original)
+++ trunk/libaf/af_format.h	Tue Sep 25 18:34:23 2007
@@ -8,7 +8,7 @@
 #error af_format.h needs config.h
 #endif
 
-// Endianess
+// Endianness
 #define AF_FORMAT_BE		(0<<0) // Big Endian
 #define AF_FORMAT_LE		(1<<0) // Little Endian
 #define AF_FORMAT_END_MASK	(1<<0)

Modified: trunk/libaf/af_format_alaw.c
==============================================================================
--- trunk/libaf/af_format_alaw.c	(original)
+++ trunk/libaf/af_format_alaw.c	Tue Sep 25 18:34:23 2007
@@ -262,7 +262,7 @@ static int from_alaw(void* in, void* out
   return AF_OK;
 }
 
-/* Convert from singed int8 to singned int32 or float to alaw */
+/* Convert from signed int8 to signed int32 or float to alaw */
 static int to_alaw(void* in, void* out, int len, int bps, int format)
 {
   register int i;

Modified: trunk/libaf/af_format_ulaw.c
==============================================================================
--- trunk/libaf/af_format_ulaw.c	(original)
+++ trunk/libaf/af_format_ulaw.c	Tue Sep 25 18:34:23 2007
@@ -774,7 +774,7 @@ static int from_ulaw(void* in, void* out
   return AF_OK;
 }
 
-/* Convert from singed int8 to singned int32 or float to ulaw */
+/* Convert from signed int8 to signed int32 or float to ulaw */
 static int to_ulaw(void* in, void* out, int len, int bps, int format)
 {
   register int i;

Modified: trunk/libaf/af_resample.c
==============================================================================
--- trunk/libaf/af_resample.c	(original)
+++ trunk/libaf/af_resample.c	Tue Sep 25 18:34:23 2007
@@ -20,7 +20,7 @@
    Valid definitions are L8 and L16, where the number denotes the
    length of the filter. This definition affects the computational
    complexity (see play()), the performance (see filter.h) and the
-   memory usage. The filterlenght is choosen to 8 if the machine is
+   memory usage. The filterlength is choosen to 8 if the machine is
    slow and to 16 if the machine is fast and has MMX.  
 */
 

Modified: trunk/libaf/af_resample.h
==============================================================================
--- trunk/libaf/af_resample.h	(original)
+++ trunk/libaf/af_resample.h	Tue Sep 25 18:34:23 2007
@@ -20,7 +20,7 @@
 #undef FIR
 #undef ADDQUE
 
-/* The lenght Lxx definition selects the length of each poly phase
+/* The length Lxx definition selects the length of each poly phase
    component. Valid definitions are L8 and L16 where the number
    defines the nuber of taps. This definition affects the
    computational complexity, the performance and the memory usage.

Modified: trunk/libaf/format.c
==============================================================================
--- trunk/libaf/format.c	(original)
+++ trunk/libaf/format.c	Tue Sep 25 18:34:23 2007
@@ -21,7 +21,7 @@
 int af_str2fmt(const char* str)
 {
   int format=0;
-  // Scan for endianess
+  // Scan for endianness
   if(strstr(str,"be") || strstr(str,"BE"))
     format |= AF_FORMAT_BE;
   else if(strstr(str,"le") || strstr(str,"LE"))
@@ -94,7 +94,7 @@ char* af_fmt2str(int format, char* str, 
     return NULL;
   size--; // reserve one for terminating 0
 
-  // Endianess
+  // Endianness
   if(AF_FORMAT_LE == (format & AF_FORMAT_END_MASK))
     i+=snprintf(str,size-i,"little-endian ");
   else

Modified: trunk/libao2/ao_sgi.c
==============================================================================
--- trunk/libao2/ao_sgi.c	(original)
+++ trunk/libao2/ao_sgi.c	Tue Sep 25 18:34:23 2007
@@ -47,7 +47,7 @@ static int fmt2sgial(int *format, int *w
   int smpfmt = AL_SAMPFMT_TWOSCOMP;
 
   /* SGI AL only supports float and signed integers in native
-   * endianess. If this is something else, we must rely on the audio
+   * endianness. If this is something else, we must rely on the audio
    * filter to convert it to a compatible format. */
 
   /* 24-bit audio is supported, but only with 32-bit alignment.

Modified: trunk/libvo/sub.c
==============================================================================
--- trunk/libvo/sub.c	(original)
+++ trunk/libvo/sub.c	Tue Sep 25 18:34:23 2007
@@ -790,8 +790,8 @@ inline static void vo_update_text_sub(mp
 
 
 #ifdef NEW_SPLITTING
-		// minimum holds the 'sum of the differences in lenght among the lines',
-		// a measure of the eveness of the lenghts of the lines
+		// minimum holds the 'sum of the differences in length among the lines',
+		// a measure of the evenness of the lengths of the lines
 		for (tmp_otp = otp; tmp_otp->next != NULL; tmp_otp = tmp_otp->next) {
 		    pmt = tmp_otp->next;
 		    while (pmt != NULL) {
@@ -806,7 +806,7 @@ inline static void vo_update_text_sub(mp
 
 		    exit = 0;
 		    // until the last word of a line can be moved to the beginning of following line
-		    // reducing the 'sum of the differences in lenght among the lines', it is done
+		    // reducing the 'sum of the differences in length among the lines', it is done
 		    while (exit == 0) {
 			hold = NULL;
 			exit = 1;

Modified: trunk/libvo/vo_xvmc.c
==============================================================================
--- trunk/libvo/vo_xvmc.c	(original)
+++ trunk/libvo/vo_xvmc.c	Tue Sep 25 18:34:23 2007
@@ -37,7 +37,7 @@
 
 #include "libavutil/common.h"
 
-//no chanse xinerama to be suported in near future
+//no chance for xinerama to be supported in the near future
 #undef HAVE_XINERAMA
 
 #undef NDEBUG 

Modified: trunk/stream/freesdp/parser.c
==============================================================================
--- trunk/stream/freesdp/parser.c	(original)
+++ trunk/stream/freesdp/parser.c	Tue Sep 25 18:34:23 2007
@@ -393,7 +393,7 @@ fsdp_parse (const char *text_description
      a=<attribute>:<value> */
   while (!strncmp (p, "a=", 2))
   {
-    /* The "9" lenght specifier of the first string is subject to
+    /* The "9" length specifier of the first string is subject to
        changes */
     if (sscanf
         (p, "a=%9[^:\r\n]:%" MSFLENS "[^\r\n]", fsdp_buf[0],



More information about the MPlayer-cvslog mailing list