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

Arc arc at xiph.org
Wed Dec 3 17:35:08 PST 2003



arc         03/12/03 20:35:08

  Modified:    lib      frarray.c
  Log:
  One bug down.

Revision  Changes    Path
1.8       +5 -5      theora/lib/frarray.c

Index: frarray.c
===================================================================
RCS file: /usr/local/cvsroot/theora/lib/frarray.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- frarray.c	3 Dec 2003 08:59:41 -0000	1.7
+++ frarray.c	4 Dec 2003 01:35:07 -0000	1.8
@@ -11,7 +11,7 @@
  ********************************************************************
 
   function:
-  last mod: $Id: frarray.c,v 1.7 2003/12/03 08:59:41 arc Exp $
+  last mod: $Id: frarray.c,v 1.8 2003/12/04 01:35:07 arc Exp $
 
  ********************************************************************/
 
@@ -384,7 +384,7 @@
 
   /* Read run length */
   FrArrayDeCodeInit(pbi);
-  do if (theora_read(&pbi->opb,1,&ret)<=0) break;
+  do theora_read(&pbi->opb,1,&ret);
   while (FrArrayDeCodeBlockRun(pbi,ret,&pbi->BitsLeft)==0);
 
 }
@@ -397,7 +397,7 @@
 
     /* Read next run */
     FrArrayDeCodeInit(pbi);
-    do if (theora_read(&pbi->opb,1,&ret)<=0) break;
+    do theora_read(&pbi->opb,1,&ret);
     while (FrArrayDeCodeBlockRun(pbi,ret,&pbi->BitsLeft)==0);
 
   }
@@ -417,7 +417,7 @@
 
   /* Read run length */
   FrArrayDeCodeInit(pbi);
-  do if (theora_read(&pbi->opb,1,&ret)<=0) break;
+  do theora_read(&pbi->opb,1,&ret);
   while (FrArrayDeCodeBlockRun(pbi,ret,&pbi->BitsLeft)==0);
 
 }
@@ -431,7 +431,7 @@
 
     /* Read next run */
     FrArrayDeCodeInit(pbi);
-    do if (theora_read(&pbi->opb,1,&ret)<=0) break;
+    do theora_read(&pbi->opb,1,&ret);
     while (FrArrayDeCodeBlockRun(pbi,ret,&pbi->BitsLeft)==0);
 
   }

<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