1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-08 18:35:45 +02:00

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
This commit is contained in:
Ronald S. Bultje 2007-03-12 14:51:18 +00:00 committed by Diego Biurrun
parent 792098c2ec
commit ecb4a895b2

View File

@ -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;