Fixes for the libtheora decode API wrapper.
commit59120368df0cda1d8b4b368461c3c6d150ff08d0
authortterribe <tterribe@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sat, 1 Jul 2006 14:53:19 +0000 (1 14:53 +0000)
committertterribe <tterribe@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sat, 1 Jul 2006 14:53:19 +0000 (1 14:53 +0000)
tree5128194617774f42c9b56d86866c2158c7fa03a9
parente31d341f526166fb9763e61555122c65a2fa2406
Fixes for the libtheora decode API wrapper.
Formatting now matches the rest of the code.
Functional fixes:
- The lifetime of the theora_info and thera_state structs are now completely
   independent.
  You can clear your info struct as soon as you initialize a decoder, or
   initialize multiple decoders from a single info struct.
- The decoder is initialized from the values in the actual theora_info struct
   passed to the API, not the internal th_info struct filled in by
   th_decode_headerin().
  This should support whatever kinds of cleverness someone who is not using the
   Ogg encapsulation might come up with to avoid constructing header packets.

Currently only tested with libtheora's player_example.

git-svn-id: http://svn.xiph.org/trunk@11682 0101bb08-14d6-0310-b084-bc0e0c8e3800
theora-exp/lib/apiwrapper.c
theora-exp/unix/Makefile