projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
792098c
)
Properly initialize filesize during input buffer initialization.
author
Ronald S. Bultje
<rsbultje@gmail.com>
Mon, 12 Mar 2007 14:51:18 +0000
(14:51 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Mon, 12 Mar 2007 14:51:18 +0000
(14:51 +0000)
patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Originally committed as revision 8343 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/http.c
patch
|
blob
|
history
diff --git
a/libavformat/http.c
b/libavformat/http.c
index
46b1814
..
9e8fce5
100644
(file)
--- 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;