Edward Hervey c755ad5032 kateenc: Refactoring for readability and leak fixing
Instead of a massive if/else/if/else/if/else/...:
* Use a common cleanup path for allocated items just before leaving
  the function (which will be free-d only if we're not dealing with
  a delayed SPU).
* "goto" that cleanup path wherever needed

CID #1427096
CID #1427114
2018-01-11 11:38:25 +01:00
..
2012-11-04 00:09:59 +00:00
2012-11-04 00:09:59 +00:00
2012-11-04 00:09:59 +00:00
2012-11-04 00:09:59 +00:00
2012-11-04 00:09:59 +00:00

Kate is a free codec for text based data, which can also carry images.
It is typically used to create overlays on a video.

libkate, a codec for Kate streams, is required to build this plugin:
http://libkate.googlecode.com/

libtiger, a rendering library for Kate streams, is optional:
http://libtiger.googlecode.com/

The Kate plugin contains various elements to manipulate Kate streams:

 - katedec: decodes Kate streams to text and SPU images
 - kateenc: encodes Kate streams from text and SPU images
 - kateparse: parses Kate streams
 - katetag: allows changing metadata in Kate streams
 - tiger: decodes and renders Kate streams using libtiger (needs libtiger)

More information about Kate can be found at:
http://wiki.xiph.org/index.php/OggKate