Displaying 1 result from an estimated 1 matches for "bail_header".
2001 Feb 04
2
Am I missing something?
...ed 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++;
}
if(i<3)
if(_get_next_page(vf,og_ptr,1)<0){
ret=OV_EBADHEADER;
goto bail_header;
}
}
return 0;
Also, notice that ogg_stream_packetout() is...