You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
break if eob is reached to avoid reading one too much byte
Originally committed as revision 8498 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user