diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2006-01-15 21:33:06 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2006-01-15 21:33:06 +0000 |
commit | d3c71c500225e3ad8ac9927f51f65ea0300d7558 (patch) | |
tree | 39376230cac9759d01416117875e906070943555 | |
parent | 0c2ed2df5aa574d3ad5754cc76b2b2ceb4a19095 (diff) | |
download | ffmpeg-d3c71c500225e3ad8ac9927f51f65ea0300d7558.tar.gz |
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
-rw-r--r-- | libavcodec/lzo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lzo.c b/libavcodec/lzo.c index ab7766b575..08efcdcc31 100644 --- a/libavcodec/lzo.c +++ b/libavcodec/lzo.c @@ -34,7 +34,7 @@ static inline int get_byte(LZOContext *c) { if (c->in < c->in_end) return *c->in++; c->error |= LZO_INPUT_DEPLETED; - return 0; + return 1; } /** |