# HG changeset patch # User diego # Date 1190738063 0 # Node ID 85f669a84e7ae6d7a7609119739e715c128ad15a # Parent 6b9c9c3053246646a3c1ef1b24e499d308df3118 cosmetics: misc typo fixes diff -r 6b9c9c305324 -r 85f669a84e7a DOCS/tech/mpdsf.txt --- 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, diff -r 6b9c9c305324 -r 85f669a84e7a TOOLS/netstream.c --- 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; } diff -r 6b9c9c305324 -r 85f669a84e7a libaf/af_format.h --- 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) diff -r 6b9c9c305324 -r 85f669a84e7a libaf/af_format_alaw.c --- 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; diff -r 6b9c9c305324 -r 85f669a84e7a libaf/af_format_ulaw.c --- 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; diff -r 6b9c9c305324 -r 85f669a84e7a libaf/af_resample.c --- 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. */ diff -r 6b9c9c305324 -r 85f669a84e7a libaf/af_resample.h --- 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. diff -r 6b9c9c305324 -r 85f669a84e7a libaf/format.c --- 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 diff -r 6b9c9c305324 -r 85f669a84e7a libao2/ao_sgi.c --- 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. diff -r 6b9c9c305324 -r 85f669a84e7a libvo/sub.c --- 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; diff -r 6b9c9c305324 -r 85f669a84e7a libvo/vo_xvmc.c --- 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 diff -r 6b9c9c305324 -r 85f669a84e7a stream/freesdp/parser.c --- 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=: */ 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],