Displaying 1 result from an estimated 1 matches for "tuint8p".
Did you mean:
guint8
2003 Sep 14
6
ov_clear(&vorbis) segfaults?
...EGIN PSEUDO CODE
OggVorbis_File vorbis;
vorbis_info *info;
if(ov_open(infile, &vorbis, NULL, 0) != 0) error();
if((info = ov_info(&vorbis, -1)) == NULL) error();
if((availible_chunks[tint]->len = ov_pcm_total(&vorbis, -1)) ==
OV_EINVAL) error();
while((tulong = ov_read(&vorbis, tuint8p, 4096, endian, 2, 1,
&bitstream)) != 0) dothings_withdata(); //While not end.
if(ov_clear(&vorbis) != 0) error(); //SEGFAULT!
//END PSEUDO CODE
Now, I realize that I haven't given much in the line of an example here,
but I do have a full, compiling, smallest test-case availible to an...