Displaying 1 result from an estimated 1 matches for "ov_ebadpacket".
2003 Oct 09
0
Vorbis plugin for RealOne Player
...k_readinit(opb,op->packet,op->bytes);
/* Check the packet type */
if(oggpack_read(opb,1)!=0){
/* Oops. This is not an audio data packet */
return(OV_ENOTAUDIO);
}
/* read our mode and pre/post windowsize */
mode=oggpack_read(opb,b->modebits);
if(mode==-1)return(OV_EBADPACKET);
......
...
..
}
<p>The access violation is occuring in the oggpack_read() func and it is
because the backend_lookup_state pointer (b) is null. There should be some
check to see if the pointer is null...
Please let me know if you need more info.
Cheers,
Rishi.
--- >8 ----
List archi...