git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6d109
)
simplify
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 25 Mar 2007 15:09:16 +0000
(15:09 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 25 Mar 2007 15:09:16 +0000
(15:09 +0000)
Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/lzw.c
patch
|
blob
|
history
diff --git
a/libavcodec/lzw.c
b/libavcodec/lzw.c
index
240ff13
..
d50247b
100644
(file)
--- a/
libavcodec/lzw.c
+++ b/
libavcodec/lzw.c
@@
-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;
}