search for: availible_chunks

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

2003 Sep 14
6
ov_clear(&vorbis) segfaults?
...ts. I can attach or otherwise make availible some demo source code, but for now I'll just pull out relevant lines: //BEGIN 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...