Commit 7d136789 authored by diego's avatar diego

Properly initialize filesize during input buffer initialization.

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8343 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f5c1fdb7
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment