changeset 24595:85f669a84e7a

cosmetics: misc typo fixes
author diego
date Tue, 25 Sep 2007 16:34:23 +0000
parents 6b9c9c305324
children 78f7d2b3e7b0
files 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
diffstat 12 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/mpdsf.txt	Tue Sep 25 16:27:43 2007 +0000
+++ b/DOCS/tech/mpdsf.txt	Tue Sep 25 16:34:23 2007 +0000
@@ -16,7 +16,7 @@
 		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,
--- a/TOOLS/netstream.c	Tue Sep 25 16:27:43 2007 +0000
+++ b/TOOLS/netstream.c	Tue Sep 25 16:34:23 2007 +0000
@@ -120,7 +120,7 @@
     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;
   }
--- a/libaf/af_format.h	Tue Sep 25 16:27:43 2007 +0000
+++ b/libaf/af_format.h	Tue Sep 25 16:34:23 2007 +0000
@@ -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)
--- a/libaf/af_format_alaw.c	Tue Sep 25 16:27:43 2007 +0000
+++ b/libaf/af_format_alaw.c	Tue Sep 25 16:34:23 2007 +0000
@@ -262,7 +262,7 @@
   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;
--- a/libaf/af_format_ulaw.c	Tue Sep 25 16:27:43 2007 +0000
+++ b/libaf/af_format_ulaw.c	Tue Sep 25 16:34:23 2007 +0000
@@ -774,7 +774,7 @@
   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;
--- a/libaf/af_resample.c	Tue Sep 25 16:27:43 2007 +0000
+++ b/libaf/af_resample.c	Tue Sep 25 16:34:23 2007 +0000
@@ -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.  
 */
 
--- a/libaf/af_resample.h	Tue Sep 25 16:27:43 2007 +0000
+++ b/libaf/af_resample.h	Tue Sep 25 16:34:23 2007 +0000
@@ -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.
--- a/libaf/format.c	Tue Sep 25 16:27:43 2007 +0000
+++ b/libaf/format.c	Tue Sep 25 16:34:23 2007 +0000
@@ -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 @@
     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
--- a/libao2/ao_sgi.c	Tue Sep 25 16:27:43 2007 +0000
+++ b/libao2/ao_sgi.c	Tue Sep 25 16:34:23 2007 +0000
@@ -47,7 +47,7 @@
   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.
--- a/libvo/sub.c	Tue Sep 25 16:27:43 2007 +0000
+++ b/libvo/sub.c	Tue Sep 25 16:34:23 2007 +0000
@@ -790,8 +790,8 @@
 
 
 #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 @@
 
 		    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;
--- a/libvo/vo_xvmc.c	Tue Sep 25 16:27:43 2007 +0000
+++ b/libvo/vo_xvmc.c	Tue Sep 25 16:34:23 2007 +0000
@@ -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 
--- a/stream/freesdp/parser.c	Tue Sep 25 16:27:43 2007 +0000
+++ b/stream/freesdp/parser.c	Tue Sep 25 16:34:23 2007 +0000
@@ -393,7 +393,7 @@
      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],