Displaying 1 result from an estimated 1 matches for "og_ptr".
Did you mean:
sg_ptr
2001 Feb 04
2
Am I missing something?
...s until it finds a
non-255 lacing value. So, if the comment packet is larger than one
page, all lacing values will be 255, and ogg_stream_packetout will start
reading uninitialized memory.
The relevant part of _fetch_headers() is here:
i=0;
while(i<3){
ogg_stream_pagein(&vf->os,og_ptr);
while(i<3){
int result=ogg_stream_packetout(&vf->os,&op);
if(result==0)break;
if(result==-1){
ret=OV_EBADHEADER;
goto bail_header;
}
if((ret=vorbis_synthesis_headerin(vi,vc,&op))){
goto bail_header;
}
i++;...