Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer authored on 2007/03/26 00:09:16... | ... |
@@ -68,14 +68,13 @@ struct LZWState { |
68 | 68 |
/* get one code from stream */ |
69 | 69 |
static int lzw_get_code(struct LZWState * s) |
70 | 70 |
{ |
71 |
- int c, sizbuf; |
|
71 |
+ int c; |
|
72 | 72 |
|
73 | 73 |
if(s->mode == FF_LZW_GIF) { |
74 | 74 |
while (s->bbits < s->cursize) { |
75 | 75 |
if (!s->bs) { |
76 |
- sizbuf = *s->pbuf++; |
|
77 |
- s->bs = sizbuf; |
|
78 |
- if(!sizbuf) { |
|
76 |
+ s->bs = *s->pbuf++; |
|
77 |
+ if(!s->bs) { |
|
79 | 78 |
s->eob_reached = 1; |
80 | 79 |
break; |
81 | 80 |
} |