diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-03-25 15:09:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-03-25 15:09:16 +0000 |
commit | 6aaf3abd6d7a5690effa7ae298ba54fd62df7525 (patch) | |
tree | 3af098cdd45dd44ac82a8e9ab95b93a872a6f198 | |
parent | db6d109da2ed2074689d219fa50e4db904a9f78a (diff) | |
download | ffmpeg-6aaf3abd6d7a5690effa7ae298ba54fd62df7525.tar.gz |
simplify
Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/lzw.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/lzw.c b/libavcodec/lzw.c index 240ff13491..d50247b827 100644 --- a/libavcodec/lzw.c +++ b/libavcodec/lzw.c @@ -68,14 +68,13 @@ struct LZWState { /* 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; } |