search for: lacing_fill

Displaying 4 results from an estimated 4 matches for "lacing_fill".

2007 Apr 14
0
Discontinuous stream support in libogg1
...->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_fill+i]=granulepos; @@ -367,11 +376,14 @@ }...
2003 Jul 22
2
Patch to get libogg2 to build with gcc 2.96
...or parsing header values */ - long pageno=ogg_page_pageno(&og); + long pageno; oggbyte_buffer ob; + og.header=os->header_tail; /* only for parsing header values */ + pageno=ogg_page_pageno(&og); oggbyte_init(&ob,os->header_tail,0); os->lacing_fill=oggbyte_read1(&ob,26); <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 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No sub...
2010 Nov 04
4
Fwd: Merging jorbis upstream and the cortado jorbis fork back into one
...te.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 segments + if(co...
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...knows where there's a hole in the data, but we need coupling so that the codec (which is in a seperate abstraction layer) also knows about the gap */ ogg_int64_t granulepos; int lacing_fill; ogg_uint32_t body_fill; /* decode-side state data */ int holeflag; int spanflag; int clearflag; int laceptr; ogg_uint32_t body_fill_next; } ogg_stream_state; typedef struct { ogg_reference *packet; long bytes; long...