Mercurial > libavcodec.hg
comparison gifdec.c @ 4730:ccbe8d386410 libavcodec
remove TODO, its done now
author | bcoudurier |
---|---|
date | Sun, 25 Mar 2007 16:43:59 +0000 |
parents | 8342af7feb90 |
children | 8c452c233fd9 |
comparison
equal
deleted
inserted
replaced
4729:8342af7feb90 | 4730:ccbe8d386410 |
---|---|
106 if (s->transparent_color_index >= 0) | 106 if (s->transparent_color_index >= 0) |
107 s->image_palette[s->transparent_color_index] = 0; | 107 s->image_palette[s->transparent_color_index] = 0; |
108 | 108 |
109 /* now get the image data */ | 109 /* now get the image data */ |
110 code_size = bytestream_get_byte(&s->bytestream); | 110 code_size = bytestream_get_byte(&s->bytestream); |
111 //TODO: add proper data size | |
112 ff_lzw_decode_init(s->lzw, code_size, s->bytestream, | 111 ff_lzw_decode_init(s->lzw, code_size, s->bytestream, |
113 s->bytestream_end - s->bytestream, FF_LZW_GIF); | 112 s->bytestream_end - s->bytestream, FF_LZW_GIF); |
114 | 113 |
115 /* read all the image */ | 114 /* read all the image */ |
116 linesize = s->picture.linesize[0]; | 115 linesize = s->picture.linesize[0]; |