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:
3f1965c
)
get_byte may not return -1 on error, since it can lead to a negative backptr.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 14 Jan 2006 14:59:11 +0000
(14:59 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 14 Jan 2006 14:59:11 +0000
(14:59 +0000)
Originally committed as revision 4854 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/lzo.c
patch
|
blob
|
history
diff --git
a/libavcodec/lzo.c
b/libavcodec/lzo.c
index 46166a11336aca042b7fe18a470555ce858789fb..ab7766b57523db93017c2eea74340a6e9068e94f 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
-1
;
+ return
0
;
}
/**