[MPlayer-cvslog] r23893 - in trunk: DOCS/tech/playtree drivers/tdfx_vid.c liba52/bitstream.h liba52/liba52_changes.diff libmpdemux/demux_ogg.c libvo/vo_tdfx_vid.c libvo/vo_zr.c m_struct.c stream/stream_ftp.c

diego subversion at mplayerhq.hu
Sat Jul 28 16:28:38 CEST 2007


Author: diego
Date: Sat Jul 28 16:28:38 2007
New Revision: 23893

Log:
cosmetics: misc typo fixes


Modified:
   trunk/DOCS/tech/playtree
   trunk/drivers/tdfx_vid.c
   trunk/liba52/bitstream.h
   trunk/liba52/liba52_changes.diff
   trunk/libmpdemux/demux_ogg.c
   trunk/libvo/vo_tdfx_vid.c
   trunk/libvo/vo_zr.c
   trunk/m_struct.c
   trunk/stream/stream_ftp.c

Modified: trunk/DOCS/tech/playtree
==============================================================================
--- trunk/DOCS/tech/playtree	(original)
+++ trunk/DOCS/tech/playtree	Sat Jul 28 16:28:38 2007
@@ -51,7 +51,7 @@ no need that it's the first one. The sam
 the child argument can be any entry in a list.
 To remove an entry from the tree use play_tree_remove. If the second arg (free_it)
 is true it will also free it, if the entry should be freed and the third
-arg is true it will also free the childs.
+arg is true it will also free the children.
 
 When your tree is ready you can then use play_tree_cleanup to remove all unuseful
 entries.

Modified: trunk/drivers/tdfx_vid.c
==============================================================================
--- trunk/drivers/tdfx_vid.c	(original)
+++ trunk/drivers/tdfx_vid.c	Sat Jul 28 16:28:38 2007
@@ -682,8 +682,8 @@ static int tdfx_vid_set_overlay(unsigned
 static int tdfx_vid_overlay_on(void) {
   uint32_t vidcfg = tdfx_inl(VIDPROCCFG);
   //return 0;
-  if(vidcfg & (1<<8)) { // Overlay is alredy on
-    //printk(KERN_DEBUG "tdfx_vid: Overlay is alredy on\n");
+  if(vidcfg & (1<<8)) { // Overlay is already on
+    //printk(KERN_DEBUG "tdfx_vid: Overlay is already on.\n");
     return (-EFAULT); 
   }
   vidcfg |= (1<<8);
@@ -700,7 +700,7 @@ static int tdfx_vid_overlay_off(void) {
     return 0;
   }
 
-  printk(KERN_DEBUG "tdfx_vid: Overlay is alredy off\n");
+  printk(KERN_DEBUG "tdfx_vid: Overlay is already off.\n");
   return (-EFAULT); 
 }
 

Modified: trunk/liba52/bitstream.h
==============================================================================
--- trunk/liba52/bitstream.h	(original)
+++ trunk/liba52/bitstream.h	Sat Jul 28 16:28:38 2007
@@ -42,7 +42,7 @@
 // alternative (faster) bitstram reader (reades upto 3 bytes over the end of the input)
 #define ALT_BITSTREAM_READER
 
-/* used to avoid missaligned exceptions on some archs (alpha, ...) */
+/* used to avoid misaligned exceptions on some archs (alpha, ...) */
 #if defined (ARCH_X86) || defined(ARCH_ARMV4L)
 #    define unaligned32(a) (*(uint32_t*)(a))
 #else

Modified: trunk/liba52/liba52_changes.diff
==============================================================================
--- trunk/liba52/liba52_changes.diff	(original)
+++ trunk/liba52/liba52_changes.diff	Sat Jul 28 16:28:38 2007
@@ -96,7 +96,7 @@
 +// alternative (faster) bitstram reader (reades upto 3 bytes over the end of the input)
 +#define ALT_BITSTREAM_READER
 +
-+/* used to avoid missaligned exceptions on some archs (alpha, ...) */
++/* used to avoid misaligned exceptions on some archs (alpha, ...) */
 +#if defined (ARCH_X86) || defined(ARCH_ARMV4L)
 +#    define unaligned32(a) (*(uint32_t*)(a))
 +#else

Modified: trunk/libmpdemux/demux_ogg.c
==============================================================================
--- trunk/libmpdemux/demux_ogg.c	(original)
+++ trunk/libmpdemux/demux_ogg.c	Sat Jul 28 16:28:38 2007
@@ -313,7 +313,7 @@ static unsigned char* demux_ogg_read_pac
     // Calculate the timestamp
     if(pack->granulepos == -1)
       pack->granulepos = os->lastpos + (os->lastsize ? os->lastsize : 1);
-    // If we alredy have a timestamp it can be a syncpoint
+    // If we already have a timestamp it can be a syncpoint
     if(*pack->packet & PACKET_IS_SYNCPOINT)
       *flags = 1;
     *pts =  pack->granulepos/os->samplerate;

Modified: trunk/libvo/vo_tdfx_vid.c
==============================================================================
--- trunk/libvo/vo_tdfx_vid.c	(original)
+++ trunk/libvo/vo_tdfx_vid.c	Sat Jul 28 16:28:38 2007
@@ -149,7 +149,7 @@ flip_page(void)
   printf("Flip\n");
 #endif
   if(use_overlay) {
-    // TDFX_VID_OVERLAY_ON does nothing if the overlay is alredy on
+    // TDFX_VID_OVERLAY_ON does nothing if the overlay is already on
     if(!ioctl(tdfx_fd,TDFX_VID_OVERLAY_ON)) { // X11 killed the overlay :(
       if(ioctl(tdfx_fd,TDFX_VID_SET_OVERLAY,&tdfx_ov))
 	mp_msg(MSGT_VO, MSGL_ERR, "tdfx_vid: set_overlay failed\n");

Modified: trunk/libvo/vo_zr.c
==============================================================================
--- trunk/libvo/vo_zr.c	(original)
+++ trunk/libvo/vo_zr.c	Sat Jul 28 16:28:38 2007
@@ -186,12 +186,12 @@ int init_zoran(zr_info_t *zr, int stretc
 	/* center the image, and stretch it as far as possible (try to keep
 	 * aspect) and check if it fits */
 	if (zr->image_width > zr->vc.maxwidth) {
-		mp_msg(MSGT_VO, MSGL_ERR, "zr: movie to be played is too wide, max width currenty %d\n", zr->vc.maxwidth);
+		mp_msg(MSGT_VO, MSGL_ERR, "zr: movie to be played is too wide, max width currently %d\n", zr->vc.maxwidth);
 		return 1;
 	}
 
 	if (zr->image_height > zr->vc.maxheight) {
-		mp_msg(MSGT_VO, MSGL_ERR, "zr: movie to be played is too high, max height currenty %d\n", zr->vc.maxheight);
+		mp_msg(MSGT_VO, MSGL_ERR, "zr: movie to be played is too high, max height currently %d\n", zr->vc.maxheight);
 		return 1;
 	}
 

Modified: trunk/m_struct.c
==============================================================================
--- trunk/m_struct.c	(original)
+++ trunk/m_struct.c	Sat Jul 28 16:28:38 2007
@@ -34,7 +34,7 @@ m_struct_alloc(m_struct_t* st) {
   // Check the struct fields
   for(i = 0 ; st->fields[i].name ; i++) {
     if(st->fields[i].type->flags & M_OPT_TYPE_INDIRECT) {
-      mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Struct %s->%s: option type with the indirect flag are forbiden\n",st->name,st->fields[i].name);
+      mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Struct %s->%s: Option types with the indirect flag are forbidden.\n",st->name,st->fields[i].name);
       return NULL;
     }
   }

Modified: trunk/stream/stream_ftp.c
==============================================================================
--- trunk/stream/stream_ftp.c	(original)
+++ trunk/stream/stream_ftp.c	Sat Jul 28 16:28:38 2007
@@ -302,10 +302,10 @@ static int seek(stream_t *s,off_t newpos
     return 0;
   }
 
-  // Check to see if the server doesn't alredy terminated the transfert
+  // Check to see if the server did not already terminate the transfer
   if(fd_can_read(p->handle, 0)) {
     if(readresp(p,rsp_txt) != 2)
-      mp_msg(MSGT_OPEN,MSGL_WARN, "[ftp] Warning the server didn't finished the transfert correctly: %s\n",rsp_txt);
+      mp_msg(MSGT_OPEN,MSGL_WARN, "[ftp] Warning the server didn't finished the transfer correctly: %s\n",rsp_txt);
     closesocket(s->fd);
     s->fd = -1;
   }
@@ -423,7 +423,7 @@ static int open_f(stream_t *stream,int m
     return STREAM_ERROR;
   }
     
-  // Set the transfert type
+  // Set the transfer type
   resp = FtpSendCmd("TYPE I",p,rsp_txt);
   if(resp != 2) {
     mp_msg(MSGT_OPEN,MSGL_WARN, "[ftp] command 'TYPE I' failed: %s\n",rsp_txt);



More information about the MPlayer-cvslog mailing list