diff libmpdemux/demux_ogg.c @ 25198:22c1f7cd553f

Fix some typos in comments, grammar is still bad.
author reimar
date Sat, 01 Dec 2007 13:50:30 +0000
parents f12dd4085c89
children 1a466dcdff1e
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c	Sat Dec 01 13:35:25 2007 +0000
+++ b/libmpdemux/demux_ogg.c	Sat Dec 01 13:50:30 2007 +0000
@@ -274,7 +274,7 @@
      /* we pass complete packets to theora, mustn't strip the header! */
      os->lastsize = 1;
      
-     /* header packets beginn on 1-bit: thus check (*data&0x80).  We don't
+     /* header packets begin on 1-bit: thus check (*data&0x80).  We don't
 	have theora_state st, until all header packets were passed to the
 	decoder. */
      if (context != NULL && !(*data&0x80))
@@ -800,7 +800,7 @@
     ogg_d->last_size = np;
     // We got one page now
 
-    if( ! ogg_page_bos(page) ) { // It's not a begining page
+    if( ! ogg_page_bos(page) ) { // It's not a beginning page
       // Header parsing end here, we need to get the page otherwise it will be lost
       int id = demux_ogg_get_page_stream(ogg_d,NULL);
       if(id >= 0)
@@ -1245,7 +1245,7 @@
   unsigned char *p = NULL,*buf;
   int plen;
 
-  /// Check that the cbSize is enouth big for the following reads
+  /// Check that the cbSize is big enough for the following reads
   if(sh_audio->wf->cbSize < 22+3*sizeof(uint32_t)) {
     mp_msg(MSGT_DEMUX,MSGL_ERR,"AVI Ogg : Initial audio header is too small !!!!!\n");
     goto fallback;