Displaying 2 results from an estimated 2 matches for "lacing_vals".
Did you mean:
lacing_values
2007 Apr 14
0
Discontinuous stream support in libogg1
...f(os->pageno==0/*||(os->pageno==1&&os->packets==0)*/){
+ os->discont=1;
+ return(0);
+ }
+ return(-1);
+}
+
int ogg_stream_destroy(ogg_stream_state *os){
if(os){
ogg_stream_clear(os);
@@ -304,7 +313,7 @@
/* Store lacing vals for this packet */
for(i=0;i<lacing_vals-1;i++){
os->lacing_vals[os->lacing_fill+i]=255;
- os->granule_vals[os->lacing_fill+i]=os->granulepos;
+ os->granule_vals[os->lacing_fill+i]=granulepos;
}
os->lacing_vals[os->lacing_fill+i]=bytes%255;
os->granulepos=os->granule_vals[os->lacing_...
2010 Nov 04
4
Fwd: Merging jorbis upstream and the cortado jorbis fork back into one
...gg/StreamState.java~ jorbis-0.0.17/com/jcraft/jogg/StreamState.java
--- jorbis-0.0.17/com/jcraft/jogg/StreamState.java~ 2008-05-07 10:07:39.000000000 +0200
+++ jorbis-0.0.17/com/jcraft/jogg/StreamState.java 2010-11-04 14:09:06.019015004 +0100
@@ -294,10 +294,13 @@ public class StreamState{
lacing_vals[lacing_fill++]=0x400;
lacing_packet++;
}
+ }
- // are we a 'continued packet' page? If so, we'll need to skip
- // some segments
- if(continued!=0){
+ // are we a 'continued packet' page? If so, we'll need to skip
+ // some segment...