search for: body_return

Displaying 1 result from an estimated 1 matches for "body_return".

Did you mean: body_returned
2007 Apr 14
0
Discontinuous stream support in libogg1
...00; /* first packet of the stream? */ + if(op&&os->discont)op->granulepos=os->granule_vals[ptr]; while(size==255){ int val=os->lacing_vals[++ptr]; size=val&0xff; @@ -885,7 +902,7 @@ op->b_o_s=bos; op->packet=os->body_data+os->body_returned; op->packetno=os->packetno; - op->granulepos=os->granule_vals[ptr]; + if(!os->discont)op->granulepos=os->granule_vals[ptr]; op->bytes=bytes; }