提交 ecb4a895 编写于 作者: R Ronald S. Bultje 提交者: Diego Biurrun

Properly initialize filesize during input buffer initialization.

patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 8343 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 792098c2
......@@ -242,6 +242,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr,
s->buf_end = s->buffer;
s->line_count = 0;
s->off = 0;
s->filesize = -1;
if (post) {
sleep(1);
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册