vlc | branch: master | Francois Cartegnie <[email protected]> | 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"))
     {

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to