10l, get_byte returning 0 on error can cause a hang. So let's try with 1 instead...
Originally committed as revision 4862 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0c2ed2df5a
commit
d3c71c5002
@ -34,7 +34,7 @@ static inline int get_byte(LZOContext *c) {
|
|||||||
if (c->in < c->in_end)
|
if (c->in < c->in_end)
|
||||||
return *c->in++;
|
return *c->in++;
|
||||||
c->error |= LZO_INPUT_DEPLETED;
|
c->error |= LZO_INPUT_DEPLETED;
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user