[Ffmpeg-devel] [PATCH] simple internal lzo decoder

Mike Melanson mike
Tue Jan 10 22:48:44 CET 2006

Reimar D?ffinger wrote:
> Hi,
> the attached patch adds a simple and probably slow LZO decoder to ffmpeg and
> makes the CamStudio decoder use it. For simplicity it also disables support
> for external liblzo if that is wanted (though currently the external
> decoder would be the default with --enable-gpl, which I think is not a
> good idea).
> Please comment (and of course, test it as well).
> Btw. since I could not find any specs, I created this decompressor by
> "converting" the original code in a drawing and reimplementing from
> there (after some "graph-optimizations"). The first time I tried it like
> this, I guess I really should put up a picture of the drawing when I get the
> time :-)

	Good work. At least we have plausible deniability that this code is not 
the same as the original decoder which was littered with labels and 
gotos and had more #ifdef's than actual code. :)

	Let's see, what are all the LZ variants? LZ, LZW, LZO, LZMA. What 
others am I missing?

	-Mike Melanson

More information about the ffmpeg-devel mailing list