[Ffmpeg-devel] TIFF LZW decoder (was: [PATCH] change gif demuxer to gif decoder)

Aurelien Jacobs aurel
Tue Oct 24 11:28:42 CEST 2006


On Tue, 24 Oct 2006 12:24:15 +0300
Kostya <kostya.shishkov at gmail.com> wrote:

> On Tue, Oct 24, 2006 at 07:35:01AM +0300, Kostya wrote:
> > 
> > As I understand, it may not need the wrapper, just two additional fields in
> > structure: GetCode() pointer and dict_limit (when dictionary size reaches it,
> > it should be expanded). I also tend to pass buffer and size to the structure
> > instead of using bytestream.
> > 
> > I intend to present this scheme to the end of week.
>  
> Here it is. 
> 
> [...]
> 
> +int ff_lzw_decode(LZWState *s, uint8_t *buf, int len){
> +   int l, c, code, oc, fc;
> +    uint8_t *sp;

Inconsistent indentation.

Aurel




More information about the ffmpeg-devel mailing list