1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-03-25 15:09:16 +00:00
parent db6d109da2
commit 6aaf3abd6d

View File

@ -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;
}