From c8ae1836e60d19348c894ffe80f7f79d17ec3b7b Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 25 Sep 2007 16:34:23 +0000 Subject: [PATCH] cosmetics: misc typo fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24615 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/tech/mpdsf.txt | 2 +- TOOLS/netstream.c | 2 +- libaf/af_format.h | 2 +- libaf/af_format_alaw.c | 2 +- libaf/af_format_ulaw.c | 2 +- libaf/af_resample.c | 2 +- libaf/af_resample.h | 2 +- libaf/format.c | 4 ++-- libao2/ao_sgi.c | 2 +- libvo/sub.c | 6 +++--- libvo/vo_xvmc.c | 2 +- stream/freesdp/parser.c | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/DOCS/tech/mpdsf.txt b/DOCS/tech/mpdsf.txt index 88e03db5f5..1ed86edf94 100644 --- a/DOCS/tech/mpdsf.txt +++ b/DOCS/tech/mpdsf.txt @@ -16,7 +16,7 @@ The file starts with a variable size header: 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 --git a/TOOLS/netstream.c b/TOOLS/netstream.c index 22a5b149d3..a85f109a31 100644 --- a/TOOLS/netstream.c +++ b/TOOLS/netstream.c @@ -120,7 +120,7 @@ static int net_stream_fill_buffer(client_t* cl,uint16_t max_len) { 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 --git a/libaf/af_format.h b/libaf/af_format.h index 8963886b41..1cc26c3096 100644 --- a/libaf/af_format.h +++ b/libaf/af_format.h @@ -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 --git a/libaf/af_format_alaw.c b/libaf/af_format_alaw.c index 6ecb3b4c1e..150d294163 100644 --- a/libaf/af_format_alaw.c +++ b/libaf/af_format_alaw.c @@ -262,7 +262,7 @@ static int from_alaw(void* in, void* out, int len, int bps, int format) 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 --git a/libaf/af_format_ulaw.c b/libaf/af_format_ulaw.c index 448e009451..20e090097b 100644 --- a/libaf/af_format_ulaw.c +++ b/libaf/af_format_ulaw.c @@ -774,7 +774,7 @@ static int from_ulaw(void* in, void* out, int len, int bps, int format) 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 --git a/libaf/af_resample.c b/libaf/af_resample.c index 1878b6c326..87fcef446b 100644 --- a/libaf/af_resample.c +++ b/libaf/af_resample.c @@ -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 --git a/libaf/af_resample.h b/libaf/af_resample.h index d9905017db..28df93ecfd 100644 --- a/libaf/af_resample.h +++ b/libaf/af_resample.h @@ -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 --git a/libaf/format.c b/libaf/format.c index 83ef7990ff..2e72f5ab31 100644 --- a/libaf/format.c +++ b/libaf/format.c @@ -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, int size) 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 --git a/libao2/ao_sgi.c b/libao2/ao_sgi.c index 91326eb374..1ca52ee8e4 100644 --- a/libao2/ao_sgi.c +++ b/libao2/ao_sgi.c @@ -47,7 +47,7 @@ static int fmt2sgial(int *format, int *width) { 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 --git a/libvo/sub.c b/libvo/sub.c index ee8c4d16d6..2a7d4a4a96 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -790,8 +790,8 @@ inline static void vo_update_text_sub(mp_osd_obj_t* obj,int dxs,int dys){ #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_osd_obj_t* obj,int dxs,int dys){ 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 --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c index 037ee75462..51f941b7e5 100644 --- a/libvo/vo_xvmc.c +++ b/libvo/vo_xvmc.c @@ -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 --git a/stream/freesdp/parser.c b/stream/freesdp/parser.c index 394c80f9e0..33bc1d59b5 100644 --- a/stream/freesdp/parser.c +++ b/stream/freesdp/parser.c @@ -393,7 +393,7 @@ fsdp_parse (const char *text_description, fsdp_description_t * dsc) 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],