Mercurial > libavcodec.hg
changeset 4727:23f8f6efc870 libavcodec
simplify
author | michael |
---|---|
date | Sun, 25 Mar 2007 15:09:16 +0000 |
parents | ecb663d00b6b |
children | 5db8e9e8f71d |
files | lzw.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lzw.c Sun Mar 25 14:02:54 2007 +0000 +++ b/lzw.c Sun Mar 25 15:09:16 2007 +0000 @@ -68,14 +68,13 @@ /* get one code from stream */ static int lzw_get_code(struct LZWState * s) { - int c, sizbuf; + int c; if(s->mode == FF_LZW_GIF) { while (s->bbits < s->cursize) { if (!s->bs) { - sizbuf = *s->pbuf++; - s->bs = sizbuf; - if(!sizbuf) { + s->bs = *s->pbuf++; + if(!s->bs) { s->eob_reached = 1; break; }