Explictly null out our theora_state in theora_decode_init.
commit910931d44609c85915ef2ac97905b5b832f86e71
authortterribe <tterribe@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sat, 26 Feb 2005 03:44:24 +0000 (26 03:44 +0000)
committertterribe <tterribe@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sat, 26 Feb 2005 03:44:24 +0000 (26 03:44 +0000)
treef65471def115bd488c99650e2bf8b759dc6a7218
parentf91d3336694ee10e94148bc4a891b0526235a62b
Explictly null out our theora_state in theora_decode_init.
The structure was already nulled in theora_encode_init, but not in decode,
 which made theora_granule_time crash when it tried to access internal_encode
 to determine whether the state is for an encoder or a decoder.
Thanks to Nehal for the catch.

git-svn-id: http://svn.xiph.org/trunk@8987 0101bb08-14d6-0310-b084-bc0e0c8e3800
theora/lib/toplevel.c