[vlc-commits] demux: adaptative: fix skipped line in reply header

Francois Cartegnie git at videolan.org
Mon Oct 12 00:39:57 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Oct 12 00:26:43 2015 +0200| [4bb4f6706c6c99c544977d02481f5d017c092399] | committer: Francois Cartegnie

demux: adaptative: fix skipped line in reply header

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4bb4f6706c6c99c544977d02481f5d017c092399
---

 modules/demux/adaptative/http/HTTPConnection.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/adaptative/http/HTTPConnection.cpp b/modules/demux/adaptative/http/HTTPConnection.cpp
index 59f3659..240d16a 100644
--- a/modules/demux/adaptative/http/HTTPConnection.cpp
+++ b/modules/demux/adaptative/http/HTTPConnection.cpp
@@ -172,7 +172,7 @@ int HTTPConnection::parseReply()
     if (replycode != 200 && replycode != 206)
         return VLC_ENOOBJ;
 
-    readLine();
+    line = readLine();
 
     while(!line.empty() && line.compare("\r\n"))
     {



More information about the vlc-commits mailing list