[xiph-commits] r7255 - branches/ogg2-arc/src

arc at dactyl.lonelymoon.com arc
Thu Jul 22 01:06:38 PDT 2004


Author: arc
Date: Thu Jul 22 01:06:38 2004
New Revision: 7255

Modified:
branches/ogg2-arc/src/stream.c
Log:
Added a comment from IRC conversation to help me tomarrow.

Yes, Subversion has become my personal notepad.  Appologies.



Modified: branches/ogg2-arc/src/stream.c
===================================================================
--- branches/ogg2-arc/src/stream.c	2004-07-22 02:40:12 UTC (rev 7254)
+++ branches/ogg2-arc/src/stream.c	2004-07-22 08:06:34 UTC (rev 7255)
@@ -490,7 +490,18 @@
if(os->mode&1){
/* Discontinuous Mode */
printf("Not yet..\n");
-
+
+/* The jist of what needs to happen here :
+      if((!os->continued&&os->laceptr==0)||
+         (os->continued&&os->laceptr>0&&oggbyte_read1(ob,26+os->laceptr)<255))
+        op->granulepos=os->granulepos;
+
+ or, as Monty said,
+
+      "first lacing if continued flag is not set, else first lacing
+       after the first non-255 lacing"
+*/
+
}else{
/* Continuous Mode */
if( (os->body_fill&FINFLAG) && !(os->body_fill_next&FINFLAG) )



More information about the commits mailing list