[vlc-commits] demux: hls: fix single tag parsing (fix #15137)

Francois Cartegnie git at videolan.org
Mon Aug 24 23:16:58 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Aug 24 23:15:54 2015 +0200| [f96133f1c67d9a0cf3930292e42afdd51bb96520] | committer: Francois Cartegnie

demux: hls: fix single tag parsing (fix #15137)

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

 modules/demux/hls/playlist/Parser.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/hls/playlist/Parser.cpp b/modules/demux/hls/playlist/Parser.cpp
index 611a89c..84f2007 100644
--- a/modules/demux/hls/playlist/Parser.cpp
+++ b/modules/demux/hls/playlist/Parser.cpp
@@ -445,7 +445,7 @@ std::list<Tag *> Parser::parseEntries(stream_t *stream)
                 }
                 else
                 {
-                    key = std::string(psz_line);
+                    key = std::string(psz_line + 1);
                 }
 
                 if(!key.empty())



More information about the vlc-commits mailing list