[Speex-dev] is it ok to call speex_encode_int after speex_bits_write?

Micky Latowicki ml.flex at gmail.com
Sun Jan 29 05:16:08 PST 2006


I'm reliably getting a corrupt stream when I do a certain encoding and  
decoding test.

I've pegged it down to this: encoding some frames, calling  
speex_bits_write() and then encoding another frame produces a corrupt  
stream.

My question is, is this a speex bug or incorrect API use?

I can provide a test case (currently in python, will translate to c if  
needed).

Thanks,

Micky


More information about the Speex-dev mailing list