[Ffmpeg-cvslog] r8343 - trunk/libavformat/http.c

diego subversion
Mon Mar 12 15:51:18 CET 2007


Author: diego
Date: Mon Mar 12 15:51:18 2007
New Revision: 8343

Modified:
   trunk/libavformat/http.c

Log:
Properly initialize filesize during input buffer initialization.
patch by Ronald S. Bultje, rbultje ronald.bitfreak net


Modified: trunk/libavformat/http.c
==============================================================================
--- trunk/libavformat/http.c	(original)
+++ trunk/libavformat/http.c	Mon Mar 12 15:51:18 2007
@@ -242,6 +242,7 @@ static int http_connect(URLContext *h, c
     s->buf_end = s->buffer;
     s->line_count = 0;
     s->off = 0;
+    s->filesize = -1;
     if (post) {
         sleep(1);
         return 0;




More information about the ffmpeg-cvslog mailing list