summaryrefslogtreecommitdiffstats
path: root/libaf
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-25 16:34:23 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-25 16:34:23 +0000
commitc8ae1836e60d19348c894ffe80f7f79d17ec3b7b (patch)
tree8ea25823b79b5224b1dfff634fddec58825efbb3 /libaf
parent49dc3d8ad467a426c4d7d493b40ab761182596ee (diff)
downloadmpv-c8ae1836e60d19348c894ffe80f7f79d17ec3b7b.tar.bz2
mpv-c8ae1836e60d19348c894ffe80f7f79d17ec3b7b.tar.xz
cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24615 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf')
-rw-r--r--libaf/af_format.h2
-rw-r--r--libaf/af_format_alaw.c2
-rw-r--r--libaf/af_format_ulaw.c2
-rw-r--r--libaf/af_resample.c2
-rw-r--r--libaf/af_resample.h2
-rw-r--r--libaf/format.c4
6 files changed, 7 insertions, 7 deletions
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