[Vorbis-dev] Decode ogg file while downloading: what are the good practices?

Ralph Giles giles at thaumas.net
Mon Nov 5 22:49:31 UTC 2018


On 2018-11-05 12:17 PM, Matthieu Regnauld wrote:

> What I do to reproduce the bug is to call ov_pcm_seek() (without any 
> reload of the file) many times in a row, very quickly (like 6-7 times 
> per seconds, during a few seconds).

It certainly shouldn't crash, or return variant data. Hard to tell more 
without a stack trace.

Are you making all your calls from the same thread? The VorbisFile 
struct isn't re-entrant.

-r


More information about the Vorbis-dev mailing list