[xiph-commits] r7212 - branches/ogg2-arc/src
arc at dactyl.lonelymoon.com
arc
Wed Jul 21 00:00:53 PDT 2004
Author: arc
Date: Wed Jul 21 00:00:53 2004
New Revision: 7212
Modified:
branches/ogg2-arc/src/stream.c
Log:
I think this may achieve packet-stream abstraction.
Won't know until I can test it from work tomarrow...
Modified: branches/ogg2-arc/src/stream.c
===================================================================
--- branches/ogg2-arc/src/stream.c 2004-07-21 06:52:13 UTC (rev 7211)
+++ branches/ogg2-arc/src/stream.c 2004-07-21 07:00:52 UTC (rev 7212)
@@ -83,8 +83,8 @@
else
oggbyte_set8(obb,os->granulepos,6);
os->b_o_s=1;
+ os->packets=0;
-
/* 32 bits of stream serial number */
oggbyte_set4(obb,os->serialno,14);
@@ -202,7 +202,6 @@
if(!os->header_tail)os->header_head=0;
if(!os->body_tail)os->body_head=0;
}
- os->packets = 0; /* packets in current page, used for discontinuous */
return 1;
}
More information about the commits
mailing list