diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2007-03-12 14:51:18 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-03-12 14:51:18 +0000 |
commit | ecb4a895b29ac07c5a650956ca766ef14af978de (patch) | |
tree | 804bf30e68a76948e56f31826da4377b88b15bc5 /libavformat/http.c | |
parent | 792098c2ec867e151b8457d6b99978cd074db04e (diff) | |
download | ffmpeg-ecb4a895b29ac07c5a650956ca766ef14af978de.tar.gz |
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
Diffstat (limited to 'libavformat/http.c')
-rw-r--r-- | libavformat/http.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index 46b18140f8..9e8fce59ab 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -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; |