[Theora-dev] theora_clear crashes.

Sébastien Moutte sebastien at moutte.net
Tue Mar 29 11:29:57 PST 2005

Hi all,

I've encountered a crash using theora_clear at the end of a decode process.
The problem came from the clear of the encoder which is done in 
theora_clear because the pointer internal_encode of the theora_state 
structure is not inittialized to 0.

I think it should be initialized to 0 in the theora_decode_init function.

I had this problem on windows.
To solve the problem with the current version of the theora lib, i've 
initialized both pointers, encode and decode, before using the theora 
decode lib functions.

Thanks for this great lib :)

More information about the Theora-dev mailing list