Commit 6aaf3abd authored by Michael Niedermayer's avatar Michael Niedermayer

simplify

Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent db6d109d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment