search for: ov_efault

Displaying 5 results from an estimated 5 matches for "ov_efault".

2001 Mar 01
2
ov_time_seek to 0s fails... AGAIN
Hello everybody, I sent something about this before, but this bug is still there, so... If you call ov_time_seek(vf, 0); it will fail, returning OV_EFAULT (from ov_pcm_seek_page). I think this must be a bug, because seeking to 0 seconds *should* be OK. Another thing, when ov_time_seek fails with OV_EFAULT, you cannot continue playing (because of the goto seek_error). This is not clear from the documentation at all, after a OV_ENOSEEK or OV_EINVAL e...
2002 Dec 09
2
ov_open/ov_test weirdness
...ase OV_ENOTVORBIS: tmp = "Bitstream is not Vorbis data."; break; case OV_EVERSION: tmp = "Vorbis version mismatch."; break; case OV_EBADHEADER: tmp = "Invalid Vorbis bitstream header."; break; case OV_EFAULT: tmp = "Internal logic fault; indicates a bug or heap/stack corruption."; break; default: tmp = "Unknown error"; break; } fprintf(stderr, "error: %s\n", tmp); return -1; }...
2002 Apr 01
1
Fw: ov_open failing with all files
...EAD: TRACE(" - A read from media returned an error.\n"); case OV_ENOTVORBIS: TRACE("- Bitstream is not Vorbis data.\n"); case OV_EVERSION: TRACE(" - Vorbis version mismatch.\n"); case OV_EBADHEADER: TRACE(" - Invalid Vorbis bitstream header.\n"); case OV_EFAULT: TRACE("- Internal logic fault; indicates a bug or heap/stack corruption.\n"); } AfxTrace("Error: input not an Ogg Vorbis audio stream.\n"); return false; } <p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xi...
2005 Aug 05
1
debugging question.
...g the following problem (which I think is more of C than vorbis) 1. after single steppig I finally arrive at the function shown below (in file lib/info.c) static int _vorbis_unpack_info(vorbis_info *vi,oggpack_buffer *opb){ 196 codec_setup_info *ci=vi->codec_setup; 197 if(!ci)return(OV_EFAULT); 198 199 vi->version=oggpack_read(opb,32); 200 if(vi->version!=0)return(OV_EVERSION); 201 202 vi->channels=oggpack_read(opb,8); 203 vi->rate=oggpack_read(opb,32); 204 205 vi->bitrate_upper=oggpack_read(opb,32); 206 vi->bitrate_nominal=oggpack_read(opb,32); 207 vi-&g...
2004 Feb 11
1
Problem using 'ov_open()'...
...) { case 0: break; case OV_EREAD: fclose(pFile); return false; case OV_ENOTVORBIS: fclose(pFile); return false; case OV_EVERSION: fclose(pFile); return false; case OV_EBADHEADER: fclose(pFile); return false; case OV_EFAULT: fclose(pFile); return false; } return true; } pSOUNDDATA OGGDATA::DecodeOGGLow() { int StreamID; unsigned int Size, Read, Location; pSOUNDDATA pData; if((pFile == NULL) || (pOVFile == NULL)) return NULL; if((pData = (pSOUNDDATA)malloc(sizeof(sSOUNDDATA))) ==...