[xiph-cvs] cvs commit: theora/lib decode.c toplevel.c

Ralph Giles giles at xiph.org
Tue Oct 21 15:12:37 PDT 2003



giles       03/10/21 18:12:37

  Modified:    lib      decode.c toplevel.c
  Log:
  Comment typo fixes and cleanup.

Revision  Changes    Path
1.7       +3 -3      theora/lib/decode.c

Index: decode.c
===================================================================
RCS file: /usr/local/cvsroot/theora/lib/decode.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- decode.c	18 Jun 2003 23:01:27 -0000	1.6
+++ decode.c	21 Oct 2003 22:12:36 -0000	1.7
@@ -11,7 +11,7 @@
  ********************************************************************
 
   function:
-  last mod: $Id: decode.c,v 1.6 2003/06/18 23:01:27 tterribe Exp $
+  last mod: $Id: decode.c,v 1.7 2003/10/21 22:12:36 giles Exp $
 
  ********************************************************************/
 
@@ -406,7 +406,7 @@
               MVect[4].y = MVect[0].y;
               MVect[5].y = MVect[0].y;
             }else if ( CodingMethod == CODE_INTER_PRIOR_LAST ){
-              /* Use the last coded Inter motion vector. */
+              /* Use the next-to-last coded Inter motion vector. */
               MVect[0].x = PriorLastInterMV.x;
               MVect[1].x = MVect[0].x;
               MVect[2].x = MVect[0].x;
@@ -657,7 +657,7 @@
     pbi->FragCoefEOB[FragIndex] = pbi->FragCoeffs[FragIndex];
 
     /* Select the appropriate huffman table offset according to
-       whether the token is fro am Y or UV block */
+       whether the token is from a Y or UV block */
     if ( FragIndex < (ogg_int32_t)pbi->YPlaneFragments )
       pbi->DcHuffChoice = DcHuffChoice1;
     else

<p><p>1.29      +4 -2      theora/lib/toplevel.c

Index: toplevel.c
===================================================================
RCS file: /usr/local/cvsroot/theora/lib/toplevel.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- toplevel.c	21 Oct 2003 22:06:30 -0000	1.28
+++ toplevel.c	21 Oct 2003 22:12:37 -0000	1.29
@@ -11,7 +11,7 @@
  ********************************************************************
 
   function:
-  last mod: $Id: toplevel.c,v 1.28 2003/10/21 22:06:30 giles Exp $
+  last mod: $Id: toplevel.c,v 1.29 2003/10/21 22:12:37 giles Exp $
 
  ********************************************************************/
 
@@ -106,7 +106,7 @@
      the machine is out of heap, the page fails to be mapped and a
      SEGV is generated.
 
-     That means that is we want to deal with out of memory conditions,
+     That means that if we want to deal with out of memory conditions,
      we *must* be prepared to process a SEGV.  If we implement the
      SEGV handler, there's no reason to to check malloc return; it is
      a waste of code. */
@@ -1187,6 +1187,8 @@
   }
 }
 
+/********************** The toplevel: decode ***********************/
+
 static int _theora_unpack_info(theora_info *ci, oggpack_buffer *opb){
   long ret;
 

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list