[vorbis-dev] What to do if I get an OV_HOLE

Michael Smith msmith at labyrinth.net.au
Tue Feb 13 13:02:29 PST 2001



At 12:18 PM 2/13/01 -0800, you wrote:
>I'm calling ov_read(); and it is returing an error message of OV_HOLE.  What
>should I do with this?  Can I just try and re-read the data?  Do I need to
>backup and try again?  Any advice would be great.

You should just continue decoding. There will be a dropout in the audio of
some sort - OV_HOLE basically means that the file/stream has been corrupted
in some way, such that some data was dropped. When you continue after the
corrupted bit, decoding works fine - so you just miss a bit of audio.

Michael

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list