[Theora-dev] theora_clear crashes.

Sébastien Moutte
2005-03-29T11:30:11Z

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 :)
Sebastien.