提交 a9318df2 编写于 作者: R Reimar Döffinger

get_byte may not return -1 on error, since it can lead to a negative backptr.

Originally committed as revision 4854 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 3f1965c4
......@@ -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;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册