projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2ed2d
)
10l, get_byte returning 0 on error can cause a hang. So let's try with 1 instead...
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 15 Jan 2006 21:33:06 +0000
(21:33 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 15 Jan 2006 21:33:06 +0000
(21:33 +0000)
Originally committed as revision 4862 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/lzo.c
patch
|
blob
|
history
diff --git
a/libavcodec/lzo.c
b/libavcodec/lzo.c
index ab7766b57523db93017c2eea74340a6e9068e94f..08efcdcc3174869176eb5f2594ba4ab7198e81a9 100644
(file)
--- 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
;
}
/**