Commit bb721893 authored by bcoudurier's avatar bcoudurier

break if eob is reached to avoid reading one too much byte

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8498 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2617a42c
......@@ -77,6 +77,7 @@ static int lzw_get_code(struct LZWState * s)
s->bs = sizbuf;
if(!sizbuf) {
s->eob_reached = 1;
break;
}
}
s->bbuf |= (*s->pbuf++) << s->bbits;
......
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