OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccba88d
)
break if eob is reached to avoid reading one too much byte
author
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Sat, 24 Mar 2007 23:23:05 +0000
(23:23 +0000)
committer
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Sat, 24 Mar 2007 23:23:05 +0000
(23:23 +0000)
Originally committed as revision 8498 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/lzw.c
patch
|
blob
|
history
diff --git
a/libavcodec/lzw.c
b/libavcodec/lzw.c
index
b5bb33a
..
4afbc86
100644
(file)
--- a/
libavcodec/lzw.c
+++ b/
libavcodec/lzw.c
@@
-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;