changeset 1909:663139d56669 libavformat

Properly initialize filesize during input buffer initialization. patch by Ronald S. Bultje, rbultje ronald.bitfreak net
author diego
date Mon, 12 Mar 2007 14:51:18 +0000
parents 174083eafc6c
children 01db389826cb
files http.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/http.c	Mon Mar 12 14:17:26 2007 +0000
+++ b/http.c	Mon Mar 12 14:51:18 2007 +0000
@@ -242,6 +242,7 @@
     s->buf_end = s->buffer;
     s->line_count = 0;
     s->off = 0;
+    s->filesize = -1;
     if (post) {
         sleep(1);
         return 0;