mirror of https://github.com/mpv-player/mpv
cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24615 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
49dc3d8ad4
commit
c8ae1836e6
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -393,7 +393,7 @@ fsdp_parse (const char *text_description, fsdp_description_t * dsc)
|
|||
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],
|
||||
|
|
Loading…
Reference in New Issue