[vlc-devel] [PATCH 2/2] demux: hls: fix typo
Zhao Zhili
quinkblack at foxmail.com
Thu Nov 2 15:11:42 CET 2017
---
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 9cba6f1..92672ba 100644
--- a/modules/demux/hls/playlist/Parser.cpp
+++ b/modules/demux/hls/playlist/Parser.cpp
@@ -379,7 +379,7 @@ M3U8 * M3U8Parser::parse(vlc_object_t *p_object,
stream_t *p_stream, const std::
{
char *psz_line = vlc_stream_ReadLine(p_stream);
if(!psz_line || strncmp(psz_line, "#EXTM3U", 7) ||
- (psz_line[0] && !std::isspace(psz_line[7])))
+ (psz_line[7] && !std::isspace(psz_line[7])))
{
free(psz_line);
return NULL;
--
2.7.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-demux-hls-fix-typo.patch
Type: text/x-patch
Size: 885 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20171102/78db85c6/attachment.bin>
More information about the vlc-devel
mailing list