search for: decode_ready

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

2001 Mar 01
2
ov_time_seek to 0s fails... AGAIN
...y set to zero in the seek_error part. I think the documentation definitely needs clarification as of when the error is fatal and if you can continue decoding. A workaround for this bug is to add something like 0.01 s to the time seeked to if the time is 0 s. After the error, OggVorbis_File->decode_ready is false, which seems a logical result after the error handling after the bug has occurred, but ov_time_tell does not check it; therefore it can cause a divide by zero. Perhaps it is up to the programmer to check for it, but this could be made a little more fool-proof with very little effort, by...