[Vorbis-dev] Vorbis and threads

Makadi Janos syberia at chello.hu
Mon Nov 29 10:07:33 PST 2004


Hi,

I made an app. to encode/decode vorbis streams.  My encoder is based on 
the libvorbis documentation, and I use ov_read for decoding. The two 
process is running on seperate threads (not paralell). If I use the code 
only encode or decode everything works fine, but when I try to encode 
and decode in the same code (threads) It crashes.

My question is, is libvorbisenc and libvorbisfile thread safe?

My config is:

Linux 2.6.4
vorbis 1.0.1
gcc 3.3.4
glibc 2.3.2 (nptl)


Thanks,

Janos Makadi


More information about the Vorbis-dev mailing list